Skip to content

Commit

Permalink
jobs: ensure jobs name to be upper case (#5688)
Browse files Browse the repository at this point in the history
This should fix #5429, but unable to test, @Echoring not either.

Anyone want to test this can download [this
archive](https://github.com/quisquous/cactbot/files/12034374/cactbot-665f400f.zip).
  • Loading branch information
MaikoTan authored Jul 13, 2023
1 parent 5d318b8 commit a7143ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/CactbotEventSource/JSEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public PlayerChangedEvent(FFXIVProcess.EntityData e) {
id = e.id;
level = e.level;
name = e.name;
job = e.job.ToString();
job = e.job.ToString().ToUpper();
currentHP = e.hp;
maxHP = e.max_hp;
currentMP = e.mp;
Expand Down

0 comments on commit a7143ef

Please sign in to comment.