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
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class FlipperMovementEventHandler
InventoryPlayer inventory = player.inventory; 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) if (inventory.armorInventory[0] != null && inventory.armorInventory[0].itemID == Items.flippers.get().itemID)
{ {