mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 02:25:25 +01:00
Fix legacy %material placeholder not working
This commit is contained in:
parent
9cbf33f68f
commit
98985efd63
@ -64,6 +64,7 @@ public class TransactionMessageSender implements Listener {
|
|||||||
replacementMap.put("x", String.valueOf(loc.getBlockX()));
|
replacementMap.put("x", String.valueOf(loc.getBlockX()));
|
||||||
replacementMap.put("y", String.valueOf(loc.getBlockY()));
|
replacementMap.put("y", String.valueOf(loc.getBlockY()));
|
||||||
replacementMap.put("z", String.valueOf(loc.getBlockZ()));
|
replacementMap.put("z", String.valueOf(loc.getBlockZ()));
|
||||||
|
replacementMap.put("material", "%item");
|
||||||
|
|
||||||
for (int i = 0; i + 1 < replacements.length; i+=2) {
|
for (int i = 0; i + 1 < replacements.length; i+=2) {
|
||||||
replacementMap.put(replacements[i], replacements[i + 1]);
|
replacementMap.put(replacements[i], replacements[i + 1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user