mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 02:01:44 +01:00
SPIGOT-4025: Fixed missed diff affecting PlayerLocaleChangeEvent
This commit is contained in:
parent
1fccb89501
commit
f03c10c185
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@
|
|||
+ PlayerChangedMainHandEvent event = new PlayerChangedMainHandEvent(getBukkitEntity(), getMainHand() == EnumMainHand.LEFT ? MainHand.LEFT : MainHand.RIGHT);
|
||||
+ this.server.server.getPluginManager().callEvent(event);
|
||||
+ }
|
||||
+ if (!this.locale.equals(packetplayinsettings.a())) {
|
||||
+ if (!this.locale.equals(packetplayinsettings.b())) {
|
||||
+ PlayerLocaleChangeEvent event = new PlayerLocaleChangeEvent(getBukkitEntity(), packetplayinsettings.b());
|
||||
+ this.server.server.getPluginManager().callEvent(event);
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue