Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix stop sneak
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent committed Dec 7, 2017
1 parent 59bd18f commit 91dadc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 91dadc6

Please sign in to comment.