13
0
geforkt von Mirrors/Paper

SPIGOT-4025: Fixed missed diff affecting PlayerLocaleChangeEvent

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2018-07-17 06:21:43 +10:00
Ursprung 55c801dcce
Commit c325d5a0f9

Datei anzeigen

@ -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);
+ }