@SubscribeEvent public void onLivingUpdate(LivingUpdateEvent event) { if (event.entityLiving instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer) event.entityLiving; MainExtendedPlayer props = MainExtendedPlayer.get(player); if (props.getUsedFruit().equals("gomugomu") || props.getUsedFruit().equals("banebane") || props.isLogia() || (player.getCurrentEquippedItem() != null && player.getCurrentEquippedItem().getItem() == ListMisc.Geppo)) player.fallDistance = 0; } }