Update ItemElectricBootsTraveller.java

(cherry picked from commit 5074d8ba1d)
This commit is contained in:
Alastors authored and Martin Robertz committed 2024-05-20 12:24:07 +02:00
1 parent d7568a2d8f
commit 0f2b04bdca
1 file changed
+1 -1
@@ -125,7 +125,7 @@ public class ItemElectricBootsTraveller extends ItemArmor
@Override
public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) {
if (!player.capabilities.isFlying && (player.moveForward != 0.0F || player.moveStrafing != 0.0F)) {
if (player.moveForward != 0.0F || player.moveStrafing != 0.0F) {
if (player.worldObj.isRemote && !player.isSneaking()) {
if (!Thaumcraft.instance.entityEventHandler.prevStep.containsKey(player.getEntityId())) {
Thaumcraft.instance.entityEventHandler.prevStep.put(player.getEntityId(), player.stepHeight);