NukerModule: Creative nuker mode now only allowed in creative
This commit is contained in:
parent
b735d7d9e5
commit
b8b5e08bfc
|
@ -71,7 +71,8 @@ public final class NukerModule extends Module {
|
|||
pos = this.getClosestBlock(false);
|
||||
break;
|
||||
case CREATIVE:
|
||||
/* the amazing creative nuker straight from the latch hacked client */
|
||||
if (mc.player.capabilities.isCreativeMode) {
|
||||
/* the amazing creative 'nuker' straight from the latch hacked client */
|
||||
for (double y = Math.round(mc.player.posY - 1) + this.vDistance.getValue(); y > Math.round(mc.player.posY - 1); y -= 1.0D) {
|
||||
for (double x = mc.player.posX - this.hDistance.getValue(); x < mc.player.posX + this.hDistance.getValue(); x += 1.0D) {
|
||||
for (double z = mc.player.posZ - this.hDistance.getValue(); z < mc.player.posZ + this.hDistance.getValue(); z += 1.0D) {
|
||||
|
@ -108,6 +109,7 @@ public final class NukerModule extends Module {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue