update
This commit is contained in:
1 parent
dc38cd272f
commit
8093ac995d
1 file changed
+1
-1
@@ -18,7 +18,7 @@ public class ShulkerBoxBlockEntity_creativeNoClipMixin
|
||||
))
|
||||
private PistonBehavior getPistonBehaviourOfNoClipPlayers(Entity entity)
|
||||
{
|
||||
if (CarpetSettings.creativeNoClip && entity instanceof PlayerEntity && (((PlayerEntity) entity).isCreative()) && ((PlayerEntity) entity).abilities.flying)
|
||||
if (CarpetSettings.creativeNoClip && entity instanceof PlayerEntity && (((PlayerEntity) entity).isCreative()) && ((PlayerEntity) entity).getAbilities().flying)
|
||||
return PistonBehavior.IGNORE;
|
||||
return entity.getPistonBehavior();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user