mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-25 19:45:36 +01:00
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);
|
Map<String, String> newMap = new LinkedHashMap<>(replacementMap);
|
||||||
newMap.put("material", "item");
|
newMap.put("material", "item");
|
||||||
|
newMap.remove("item");
|
||||||
Component component = new Replacer()
|
Component component = new Replacer()
|
||||||
.placeholderSuffix("")
|
.placeholderSuffix("")
|
||||||
.replace("item",itemComponent.build())
|
.replace("item",itemComponent.build())
|
||||||
|
Loading…
Reference in New Issue
Block a user