Fix ShowItem not working in messages
This commit is contained in:
parent
f825995a85
commit
2545b95d54
|
@ -524,6 +524,7 @@ public class MaterialUtil {
|
|||
|
||||
Map<String, String> newMap = new LinkedHashMap<>(replacementMap);
|
||||
newMap.put("material", "item");
|
||||
newMap.remove("item");
|
||||
Component component = new Replacer()
|
||||
.placeholderSuffix("")
|
||||
.replace("item",itemComponent.build())
|
||||
|
|
Loading…
Reference in New Issue