From 6dcb243c1f33188711b6c44bf6d1bdd0a1e954fa Mon Sep 17 00:00:00 2001 From: Chaos Date: Tue, 22 Mar 2022 20:02:10 +0100 Subject: [PATCH] fix(schematic_selector): Fix Player Head in 1.12 Signed-off-by: Chaos --- .../src/de/steamwar/inventory/SchematicSelector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/inventory/SchematicSelector.java b/SpigotCore_Main/src/de/steamwar/inventory/SchematicSelector.java index 1d40716..0f6ba59 100644 --- a/SpigotCore_Main/src/de/steamwar/inventory/SchematicSelector.java +++ b/SpigotCore_Main/src/de/steamwar/inventory/SchematicSelector.java @@ -293,7 +293,7 @@ public class SchematicSelector { openFilter(); } else { SWAnvilInv swAnvilInv = new SWAnvilInv(player, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_ENTER_OWNER", player)); - swAnvilInv.setItem(Material.PLAYER_HEAD); + swAnvilInv.setItem(SWItem.getMaterial("SKULL_ITEM"), (byte) 3); swAnvilInv.setCallback(s -> { if(SteamwarUser.get(s) != null) { filter.setOwner(SteamwarUser.get(s).getId());