mirror of https://github.com/cabaletta/baritone
Merge pull request #4003 from rycbar0/elytra
prevent <player> went off with a bang
This commit is contained in:
commit
579e6d6e4c
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue