From 59c02c37c9ed8c5ed09a84e6b83763343cee5d6a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 13 Sep 2022 15:27:26 +0200 Subject: [PATCH] Fix Hotbar errors Signed-off-by: yoyosource --- .../src/de/steamwar/bausystem/features/hotbar/DefaultHotbar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/hotbar/DefaultHotbar.java b/BauSystem_Main/src/de/steamwar/bausystem/features/hotbar/DefaultHotbar.java index 927cc1e5..9fdc9736 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/hotbar/DefaultHotbar.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/hotbar/DefaultHotbar.java @@ -63,6 +63,7 @@ public class DefaultHotbar { } public ItemStack[] getItems(Player p) { + Config.getInstance().get(p).remap("hotbar", "hotbar-19"); YAPIONArray yapionArray = Config.getInstance().get(p).getYAPIONArrayOrSetDefault("hotbar-" + Core.getVersion(), defaultHotbar()); ItemStack[] hotbar = new ItemStack[13]; yapionArray.forEach((integer, yapionAnyType) -> {