prevent <player> went off with a bang
This commit is contained in:
@@ -487,7 +487,8 @@ public final class ElytraBehavior extends Behavior implements IElytraBehavior, H
|
||||
final NBTTagCompound subCompound = itemStack.getSubCompound("Fireworks");
|
||||
return itemStack.getItem() == Items.FIREWORKS
|
||||
&& subCompound != null
|
||||
&& subCompound.hasKey("Flight");
|
||||
&& subCompound.hasKey("Flight")
|
||||
&& !subCompound.hasKey("Explosions");
|
||||
}
|
||||
|
||||
private boolean isFireworkActive() {
|
||||
|
||||
Reference in New Issue
Block a user