mirror of
https://github.com/GTNewHorizons/Tainted-Magic.git
synced 2026-11-27 15:23:09 +00:00
Fix Omni Mode Server Crash (#38)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Alexdoru <[email protected]>
This commit is contained in:
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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')
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user