mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
SPIGOT-4025: Fixed missed diff affecting PlayerLocaleChangeEvent
By: md_5 <git@md-5.net>
This commit is contained in:
parent
55c801dcce
commit
c325d5a0f9
@ -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 New Issue
Block a user