summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/ftbsc/bscv/modules/self/AutoTool.java2
-rw-r--r--src/main/resources/META-INF/accesstransformer.cfg1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/ftbsc/bscv/modules/self/AutoTool.java b/src/main/java/ftbsc/bscv/modules/self/AutoTool.java
index a036ecd..0e68658 100644
--- a/src/main/java/ftbsc/bscv/modules/self/AutoTool.java
+++ b/src/main/java/ftbsc/bscv/modules/self/AutoTool.java
@@ -62,6 +62,7 @@ public class AutoTool extends AbstractModule implements ICommons {
}
}
MC.player.inventory.selected = current_slot;
+ MC.gameMode.ensureHasSentCarriedItem(); // ACCESSTRANSFORMER
break;
case ENTITY:
double current_damage = 0.f;
@@ -78,6 +79,7 @@ public class AutoTool extends AbstractModule implements ICommons {
}
}
MC.player.inventory.selected = current_slot;
+ MC.gameMode.ensureHasSentCarriedItem(); // ACCESSTRANSFORMER
break;
case MISS:
break;
diff --git a/src/main/resources/META-INF/accesstransformer.cfg b/src/main/resources/META-INF/accesstransformer.cfg
index 90d7254..e9350e7 100644
--- a/src/main/resources/META-INF/accesstransformer.cfg
+++ b/src/main/resources/META-INF/accesstransformer.cfg
@@ -3,3 +3,4 @@ public net.minecraft.client.gui.screen.Screen field_230705_e_ # children
public net.minecraft.client.network.play.NetworkPlayerInfo field_178866_b # gameMode
public net.minecraft.network.play.client.CPlayerPacket field_149474_g # onGround
public net.minecraft.entity.Entity field_71087_bX # isInsidePortal
+public net.minecraft.client.multiplayer.PlayerController func_78750_j()V