forked from GeyserMC/Geyser
EnderCrystalEntity: don't appear to be on fire if fire is below (#1651)
This commit is contained in:
parent
bb21d05459
commit
f19922ecf0
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ public class EnderCrystalEntity extends Entity {
|
||||||
public EnderCrystalEntity(long entityId, long geyserId, EntityType entityType, Vector3f position, Vector3f motion, Vector3f rotation) {
|
public EnderCrystalEntity(long entityId, long geyserId, EntityType entityType, Vector3f position, Vector3f motion, Vector3f rotation) {
|
||||||
super(entityId, geyserId, entityType, position, motion, 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
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue