Fix natural creeper explosion animation not showing up

This commit is contained in:
RednedEpic 2020-03-06 19:27:12 -06:00
parent 7bd53c95c3
commit 0e355c1a95
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ public class CreeperEntity extends MonsterEntity {
@Override
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) {
metadata.getFlags().setFlag(EntityFlag.POWERED, (boolean) entityMetadata.getValue());
}