From 504b479d31760d9977b7627bce7e41d4973d6cd6 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Tue, 2 Jul 2013 21:37:13 +0200 Subject: [PATCH] Fix the protocol lib integration. Thanks @aadnk --- .../integration/protocollib/EntityPotionColorPacketAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/mcore/integration/protocollib/EntityPotionColorPacketAdapter.java b/src/com/massivecraft/mcore/integration/protocollib/EntityPotionColorPacketAdapter.java index 763b4139..3c9f656b 100644 --- a/src/com/massivecraft/mcore/integration/protocollib/EntityPotionColorPacketAdapter.java +++ b/src/com/massivecraft/mcore/integration/protocollib/EntityPotionColorPacketAdapter.java @@ -64,7 +64,7 @@ public class EntityPotionColorPacketAdapter extends PacketAdapter for (WrappedWatchableObject watchable : metadata) { // If the watchable is about potion effect color ... - if (watchable.getIndex() != 8) continue; + if (watchable.getIndex() != 7) continue; // ... run our custom async event to allow changing it ... int oldColor = (Integer) watchable.getValue();