forked from GeyserMC/Geyser
Fix natural creeper explosion animation not showing up
This commit is contained in:
parent
7bd53c95c3
commit
0e355c1a95
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ public class CreeperEntity extends MonsterEntity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
|
public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession session) {
|
||||||
|
if (entityMetadata.getId() == 15 && (int) entityMetadata.getValue() > 0) {
|
||||||
|
metadata.getFlags().setFlag(EntityFlag.IGNITED, true);
|
||||||
|
}
|
||||||
if (entityMetadata.getId() == 16) {
|
if (entityMetadata.getId() == 16) {
|
||||||
metadata.getFlags().setFlag(EntityFlag.POWERED, (boolean) entityMetadata.getValue());
|
metadata.getFlags().setFlag(EntityFlag.POWERED, (boolean) entityMetadata.getValue());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue