diff --git a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12to1_11_1/packets/EntityPackets1_12.java b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12to1_11_1/packets/EntityPackets1_12.java index 135a503a..4d18c9fc 100644 --- a/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12to1_11_1/packets/EntityPackets1_12.java +++ b/core/src/main/java/nl/matsv/viabackwards/protocol/protocol1_12to1_11_1/packets/EntityPackets1_12.java @@ -370,6 +370,16 @@ public class EntityPackets1_12 extends EntityRewriter { registerMetaHandler().filter(EntityType.EVOCATION_ILLAGER, true, 12).removed(); registerMetaHandler().filter(EntityType.EVOCATION_ILLAGER, true, 13).handleIndexChange(12); + registerMetaHandler().filter(EntityType.ILLUSION_ILLAGER, 0).handle(e -> { + byte mask = (byte) e.getData().getValue(); + + if ((mask & 0x20) == 0x20) + mask &= ~0x20; + + e.getData().setValue(mask); + return e.getData(); + }); + // Create Parrot storage registerMetaHandler().filter(EntityType.PARROT, true).handle(e -> { if (!e.getEntity().has(ParrotStorage.class))