diff --git a/src/main/java/net/minecraft/server/NetServerHandler.java b/src/main/java/net/minecraft/server/NetServerHandler.java index c5b2b9c46b..fb9ec17c40 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;