forked from SteamWar/SteamWar
Adjust TechareaCommand to refine wireframe bounds using offset subtraction
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user