From 5201a3edc0f196247643fb611be54b4540e5df85 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 12 Jun 2025 19:53:22 +0200 Subject: [PATCH] Adjust TechareaCommand to refine wireframe bounds using offset subtraction --- .../src/de/steamwar/fightsystem/commands/TechareaCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechareaCommand.java b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechareaCommand.java index 916bf816..880e1843 100644 --- a/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechareaCommand.java +++ b/FightSystem/FightSystem_Core/src/de/steamwar/fightsystem/commands/TechareaCommand.java @@ -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);