diff options
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/NetServerHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index c5b2b9c4..fb9ec17c 100644 --- a/src/main/java/net/minecraft/server/NetServerHandler.java +++ b/src/main/java/net/minecraft/server/NetServerHandler.java @@ -815,7 +815,7 @@ public class NetServerHandler extends NetHandler implements ICommandListener { if (packet19entityaction.animation == 1 || packet19entityaction.animation == 2) { Player player = getPlayer(); - PlayerToggleSneakEvent event = new PlayerToggleSneakEvent(player); + PlayerToggleSneakEvent event = new PlayerToggleSneakEvent(player, packet19entityaction.animation == 1); server.getPluginManager().callEvent(event); if (event.isCancelled()) { return; |