From 2effb68852b562b068fe08bee63e070d005e7066 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 27 Dec 2021 16:21:18 +0100 Subject: [PATCH] Fix SelectBauGuiItem Signed-off-by: yoyosource --- .../bausystem/features/util/items/SelectBauGuiItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java index 37493ea0..37ee3b95 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/items/SelectBauGuiItem.java @@ -66,7 +66,7 @@ public class SelectBauGuiItem extends BauGuiItem { @Override public ItemStack getItem(Player player) { LastSelect last = LAST_SELECT_MAP.getOrDefault(player, new LastSelect(RegionType.BUILD, RegionExtensionType.NORMAL)); - return new SWItem(Material.SCAFFOLDING, BauSystem.MESSAGE.parse("SELECT_ITEM_EXTENDED_EXTENSION", player), Arrays.asList(BauSystem.MESSAGE.parse("SELECT_ITEM_EXTENDED_EXTENSION", player) + last.toString(), BauSystem.MESSAGE.parse("SELECT_ITEM_RIGHT_CLICK", player)), false, clickType -> { + return new SWItem(Material.SCAFFOLDING, BauSystem.MESSAGE.parse("SELECT_ITEM_SELECT", player), Arrays.asList(BauSystem.MESSAGE.parse("SELECT_ITEM_AUSWAHL", player) + last.toString(), BauSystem.MESSAGE.parse("SELECT_ITEM_RIGHT_CLICK", player)), false, clickType -> { }).getItemStack(); }