diff options
Diffstat (limited to 'Spigot-Server-Patches/0712-fix-PlayerItemHeldEvent-firing-twice.patch')
-rw-r--r-- | Spigot-Server-Patches/0712-fix-PlayerItemHeldEvent-firing-twice.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0712-fix-PlayerItemHeldEvent-firing-twice.patch b/Spigot-Server-Patches/0712-fix-PlayerItemHeldEvent-firing-twice.patch index 9d3a5dd90b..83d6c945b5 100644 --- a/Spigot-Server-Patches/0712-fix-PlayerItemHeldEvent-firing-twice.patch +++ b/Spigot-Server-Patches/0712-fix-PlayerItemHeldEvent-firing-twice.patch @@ -17,10 +17,10 @@ index d68f3e6b35f0af846c8a66710c5752508c095179..0e8ee44d0104ca7c666f57bdb54e0957 return this.itemInHandIndex; } diff --git a/src/main/java/net/minecraft/server/network/PlayerConnection.java b/src/main/java/net/minecraft/server/network/PlayerConnection.java -index db42f3b524adc4458c9c468b0299332e73a07a44..fd9f38f0bb723b3e78bd013ccb9538489a9ca43e 100644 +index a0d48ef2b27267da0864baa9059c7c3e5aef6f48..957d3b56aea116f947ca8fb74127f652de72b701 100644 --- a/src/main/java/net/minecraft/server/network/PlayerConnection.java +++ b/src/main/java/net/minecraft/server/network/PlayerConnection.java -@@ -1908,6 +1908,7 @@ public class PlayerConnection implements PacketListenerPlayIn { +@@ -1909,6 +1909,7 @@ public class PlayerConnection implements PacketListenerPlayIn { PlayerConnectionUtils.ensureMainThread(packetplayinhelditemslot, this, this.player.getWorldServer()); if (this.player.isFrozen()) return; // CraftBukkit if (packetplayinhelditemslot.b() >= 0 && packetplayinhelditemslot.b() < PlayerInventory.getHotbarSize()) { |