Adjust TechareaCommand to refine wireframe bounds using offset subtraction

This commit is contained in:
2025-06-12 19:53:22 +02:00
parent c9821053ce
commit 5201a3edc0
@@ -50,7 +50,7 @@ public class TechareaCommand extends SWCommand {
CWireframe wireframe = new CWireframe(server);
wireframe.setPos1(Config.BlueInsetRegion.getMinLocation(Config.world));
wireframe.setPos2(Config.BlueInsetRegion.getMaxLocation(Config.world));
wireframe.setPos2(Config.BlueInsetRegion.getMaxLocation(Config.world).subtract(1, 1, 1));
wireframe.setBlock(Material.RED_CONCRETE.createBlockData());
server.addPlayer(player);