From 91dadc603531be38d7a2d8833056e4d90fcc70cf Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 7 Dec 2017 22:24:39 +0100 Subject: [PATCH] fix stop sneak --- .../network/translator/pe/PEPlayerActionPacketTranslator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/org/dragonet/proxy/network/translator/pe/PEPlayerActionPacketTranslator.java b/proxy/src/main/java/org/dragonet/proxy/network/translator/pe/PEPlayerActionPacketTranslator.java index a66e5b6ad..65526e6d3 100644 --- a/proxy/src/main/java/org/dragonet/proxy/network/translator/pe/PEPlayerActionPacketTranslator.java +++ b/proxy/src/main/java/org/dragonet/proxy/network/translator/pe/PEPlayerActionPacketTranslator.java @@ -56,7 +56,7 @@ public Packet[] translate(UpstreamSession session, PlayerActionPacket packet) { } if (packet.action == PlayerActionPacket.ACTION_STOP_SNEAK) { ClientPlayerStatePacket stat = new ClientPlayerStatePacket( - (int) session.getDataCache().get(CacheKey.PLAYER_EID), PlayerState.START_SNEAKING); + (int) session.getDataCache().get(CacheKey.PLAYER_EID), PlayerState.STOP_SNEAKING); return new Packet[] { stat }; } if (packet.action == PlayerActionPacket.ACTION_STOP_SLEEPING) {