Flippers no longer provide speed boosts while flying in creative

This commit is contained in:
Adubbz 2013-09-15 11:24:30 +10:00
parent 25107b4733
commit 485ea58e48

View file

@ -36,7 +36,7 @@ public class FlipperMovementEventHandler
InventoryPlayer inventory = player.inventory;
if (player.isInWater())
if (player.isInWater() && !player.capabilities.isFlying)
{
if (inventory.armorInventory[0] != null && inventory.armorInventory[0].itemID == Items.flippers.get().itemID)
{