mirror of
https://github.com/seppukudevelopment/seppuku
synced 2025-03-03 19:27:42 +00:00
Revert nuker back to latest WITH fixes
This commit is contained in:
parent
52874e233d
commit
f97418d2f2
@ -26,7 +26,7 @@ import team.stiff.pomelo.impl.annotated.handler.annotation.Listener;
|
||||
*/
|
||||
public final class NukerModule extends Module {
|
||||
|
||||
public final Value<Mode> mode = new Value<Mode>("Mode", new String[]{"Mode", "M"}, "The nuker mode to use", Mode.SELECTION);
|
||||
public final Value<Mode> mode = new Value<Mode>("Mode", new String[]{"Mode", "M"}, "The nuker mode to use.", Mode.SELECTION);
|
||||
|
||||
private enum Mode {
|
||||
SELECTION, ALL, CREATIVE
|
||||
@ -214,7 +214,7 @@ public final class NukerModule extends Module {
|
||||
final double dist = mc.player.getDistance(pos.getX(), pos.getY(), pos.getZ());
|
||||
if (pos.equals(SpeedMineModule.autoPos)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (dist <= maxDist && (mc.world.getBlockState(pos).getBlock() != Blocks.AIR && !(mc.world.getBlockState(pos).getBlock() instanceof BlockLiquid)) && canBreak(pos)) {
|
||||
if (selection) {
|
||||
if ((this.selected == null) || !mc.world.getBlockState(pos).getBlock().equals(this.selected)) {
|
||||
|
Loading…
Reference in New Issue
Block a user