Parachutes no longer auto-deploy in creative.

This commit is contained in:
bconlon 2020-07-18 20:43:56 -07:00
parent ab6faadecd
commit cccc9a9b03

View file

@ -282,6 +282,8 @@ public class PlayerAether implements IPlayerAether {
}
private void activateParachute()
{
if (!this.player.capabilities.isCreativeMode)
{
EntityParachute parachute = null;
@ -327,6 +329,7 @@ public class PlayerAether implements IPlayerAether {
}
}
}
}
public boolean isInsideBlock(Block block) {
AxisAlignedBB boundingBox = this.getEntity().boundingBox;