diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index 71ab9dcde2..ca573ac6ef 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -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); + }