Fix the protocol lib integration. Thanks @aadnk
This commit is contained in:
parent
5c24a6a2da
commit
504b479d31
@ -64,7 +64,7 @@ public class EntityPotionColorPacketAdapter extends PacketAdapter
|
|||||||
for (WrappedWatchableObject watchable : metadata)
|
for (WrappedWatchableObject watchable : metadata)
|
||||||
{
|
{
|
||||||
// If the watchable is about potion effect color ...
|
// 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 ...
|
// ... run our custom async event to allow changing it ...
|
||||||
int oldColor = (Integer) watchable.getValue();
|
int oldColor = (Integer) watchable.getValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user