diff --git a/src/main/java/emt/item/armor/boots/ItemElectricBootsTraveller.java b/src/main/java/emt/item/armor/boots/ItemElectricBootsTraveller.java index 8d0b77d..1806b3e 100644 --- a/src/main/java/emt/item/armor/boots/ItemElectricBootsTraveller.java +++ b/src/main/java/emt/item/armor/boots/ItemElectricBootsTraveller.java @@ -273,14 +273,14 @@ public class ItemElectricBootsTraveller extends ItemArmor // Avoid NSM Exception when ThaumicBoots is not present. public double getSpeedModifier(ItemStack stack) { - if (stack.stackTagCompound != null) { + if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("speed")) { return stack.stackTagCompound.getDouble("speed"); } return 1.0; } public double getJumpModifier(ItemStack stack) { - if (stack.stackTagCompound != null) { + if (stack.stackTagCompound != null && stack.stackTagCompound.hasKey("jump")) { return stack.stackTagCompound.getDouble("jump"); } return 1.0;