diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomCommandListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomCommandListener.java index 2eff813d..69702fe4 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomCommandListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/CustomCommandListener.java @@ -298,6 +298,7 @@ public class CustomCommandListener implements Listener { if (!save(p)) { playerMap.get(p).removeIf(customCommand -> customCommand == menuCommand); p.closeInventory(); + SWUtils.giveItemToPlayer(p, p.getItemOnCursor()); save(p); p.sendMessage("§cScript CMD-Buch Limit erreicht"); return; diff --git a/yapion/prototypes4.yapion b/yapion/prototypes4.yapion index c675ab3c..55bb006c 100644 --- a/yapion/prototypes4.yapion +++ b/yapion/prototypes4.yapion @@ -129,7 +129,7 @@ sizeX(115) sizeY(45) sizeZ(65) - offsetX(6) + offsetX(3) offsetY(10) offsetZ(6) }