fix: AutoTool ghost blocks

This commit is contained in:
əlemi 2023-03-04 01:21:16 +01:00
parent f243885ac9
commit 60cb2dcfd8
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 0 deletions

View file

@ -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;

View file

@ -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