From 2545b95d5426f290b662ebeb07cd7823d60fd05d Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Sun, 16 May 2021 19:53:30 +0100 Subject: [PATCH] Fix ShowItem not working in messages --- src/main/java/com/Acrobot/Breeze/Utils/MaterialUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/Acrobot/Breeze/Utils/MaterialUtil.java b/src/main/java/com/Acrobot/Breeze/Utils/MaterialUtil.java index 4b31560..447bfe0 100644 --- a/src/main/java/com/Acrobot/Breeze/Utils/MaterialUtil.java +++ b/src/main/java/com/Acrobot/Breeze/Utils/MaterialUtil.java @@ -524,6 +524,7 @@ public class MaterialUtil { Map newMap = new LinkedHashMap<>(replacementMap); newMap.put("material", "item"); + newMap.remove("item"); Component component = new Replacer() .placeholderSuffix("") .replace("item",itemComponent.build())