From f1e6006c51928595ccf00190e12e578368ee33da Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 9 Apr 2021 16:02:14 +0200 Subject: [PATCH] Hotifx CommandProtect with Schematic --- .../src/de/steamwar/bausystem/commands/CommandProtect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandProtect.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandProtect.java index 9329daf..5917041 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandProtect.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandProtect.java @@ -68,7 +68,7 @@ public class CommandProtect extends SWCommand { return; } try { - region.protect(null); + region.protect(schem); p.sendMessage(BauSystem.PREFIX + "§7Boden geschützt"); } catch (IOException e) { p.sendMessage(BauSystem.PREFIX + "§cFehler beim Schützen der Region");