From f19922ecf09c88f59d573da52be69c79bd53855f Mon Sep 17 00:00:00 2001 From: Camotoy <20743703+Camotoy@users.noreply.github.com> Date: Fri, 11 Dec 2020 12:55:37 -0500 Subject: [PATCH] EnderCrystalEntity: don't appear to be on fire if fire is below (#1651) --- .../java/org/geysermc/connector/entity/EnderCrystalEntity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/connector/src/main/java/org/geysermc/connector/entity/EnderCrystalEntity.java b/connector/src/main/java/org/geysermc/connector/entity/EnderCrystalEntity.java index 4b665683..0459ea85 100644 --- a/connector/src/main/java/org/geysermc/connector/entity/EnderCrystalEntity.java +++ b/connector/src/main/java/org/geysermc/connector/entity/EnderCrystalEntity.java @@ -39,6 +39,8 @@ public class EnderCrystalEntity extends Entity { public EnderCrystalEntity(long entityId, long geyserId, EntityType entityType, Vector3f position, Vector3f motion, Vector3f rotation) { super(entityId, geyserId, entityType, position, motion, rotation); + // Bedrock 1.16.100+ - prevents the entity from appearing on fire itself when fire is underneath it + metadata.getFlags().setFlag(EntityFlag.FIRE_IMMUNE, true); } @Override