fixed auto32k
This commit is contained in:
@@ -14,8 +14,7 @@ import minegame159.meteorclient.settings.*;
|
||||
import minegame159.meteorclient.systems.modules.Categories;
|
||||
import minegame159.meteorclient.systems.modules.Module;
|
||||
import minegame159.meteorclient.utils.Utils;
|
||||
import minegame159.meteorclient.utils.player.InvUtils;
|
||||
import minegame159.meteorclient.utils.player.PlayerUtils;
|
||||
import minegame159.meteorclient.utils.player.*;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.Blocks;
|
||||
import net.minecraft.client.gui.screen.ingame.Generic3x3ContainerScreen;
|
||||
@@ -123,7 +122,7 @@ public class Auto32K extends Module {
|
||||
mc.player.setSneaking(true);
|
||||
mc.player.inventory.selectedSlot = shulkerSlot;
|
||||
if (!PlayerUtils.placeBlock(bestBlock.up(), Hand.MAIN_HAND)) {
|
||||
Utils.sendMessage("#redFailed to place.");
|
||||
ChatUtils.moduleError(this,"Failed to place.");
|
||||
this.toggle();
|
||||
return;
|
||||
}
|
||||
@@ -143,7 +142,7 @@ public class Auto32K extends Module {
|
||||
mc.player.inventory.selectedSlot = hopperSlot;
|
||||
if(bestBlock == null) return;
|
||||
if (!PlayerUtils.placeBlock(bestBlock.add(x, 0, z), Hand.MAIN_HAND)) {
|
||||
Utils.sendMessage("#redFailed to place.");
|
||||
ChatUtils.moduleError(this,"Failed to place.");
|
||||
this.toggle();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user