diff --git a/dependencies.gradle b/dependencies.gradle index 3f0efd7..e4cf4b6 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -3,9 +3,9 @@ dependencies { api('com.github.GTNewHorizons:Baubles-Expanded:2.1.9-GTNH:dev') api('thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev') - api('com.github.GTNewHorizons:ThaumicBoots:1.4.9:dev') { + api('com.github.GTNewHorizons:ThaumicBoots:1.4.13:dev') { exclude group: 'com.github.GTNewHorizons', module: 'Tainted-Magic' exclude module: 'Baubles' } - compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.51.409:dev') + compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.51.419:dev') } diff --git a/src/main/java/taintedmagic/common/items/equipment/ItemVoidwalkerBoots.java b/src/main/java/taintedmagic/common/items/equipment/ItemVoidwalkerBoots.java index ade4ae9..443f955 100644 --- a/src/main/java/taintedmagic/common/items/equipment/ItemVoidwalkerBoots.java +++ b/src/main/java/taintedmagic/common/items/equipment/ItemVoidwalkerBoots.java @@ -2,7 +2,6 @@ package taintedmagic.common.items.equipment; import java.util.List; -import net.minecraft.client.Minecraft; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; @@ -33,6 +32,7 @@ import thaumcraft.api.aspects.Aspect; import thaumcraft.common.Thaumcraft; import thaumcraft.common.items.armor.Hover; import thaumicboots.api.IBoots; +import thaumicboots.mixins.early.minecraft.EntityLivingBaseAccessor; // import static taintedmagic.common.items.equipment.ItemVoidwalkerSash.sashBuff; @@ -195,7 +195,7 @@ public class ItemVoidwalkerBoots extends ItemArmor implements IVoidwalker, IVisD if (player.moveStrafing != 0.0) { player.moveFlying(player.moveStrafing, 0.0F, bonus); } - boolean jumping = Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed(); + boolean jumping = ((EntityLivingBaseAccessor) player).getIsJumping(); boolean sneaking = player.isSneaking(); if (sneaking && !jumping && !player.onGround) { player.motionY -= bonus;