Flippers no longer provide speed boosts while flying in creative
This commit is contained in:
parent
25107b4733
commit
485ea58e48
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue