From 261d68c58ea0fbd57ce4f245cabf2e7c02b350bb Mon Sep 17 00:00:00 2001 From: Myles Date: Thu, 21 Apr 2016 21:13:10 +0100 Subject: [PATCH] Fix blocking shield not going away :P --- .../protocols/protocol1_9to1_8/packets/WorldPackets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java b/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java index 42600ab66..8e8c8e27c 100644 --- a/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java +++ b/src/main/java/us/myles/ViaVersion/protocols/protocol1_9to1_8/packets/WorldPackets.java @@ -226,7 +226,7 @@ public class WorldPackets { @Override public void handle(PacketWrapper wrapper) throws Exception { int status = wrapper.get(Type.UNSIGNED_BYTE, 0); - if (status == 4) { + if (status == 5 || status == 4 || status == 3) { EntityTracker entityTracker = wrapper.user().get(EntityTracker.class); if (entityTracker.isBlocking()) { entityTracker.setBlocking(false);