Fix legacy %material placeholder not working

This commit is contained in:
Phoenix616 2020-07-03 18:13:40 +01:00
parent 9cbf33f68f
commit 98985efd63
No known key found for this signature in database
GPG Key ID: 40E2321E71738EB0
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ public class TransactionMessageSender implements Listener {
replacementMap.put("x", String.valueOf(loc.getBlockX()));
replacementMap.put("y", String.valueOf(loc.getBlockY()));
replacementMap.put("z", String.valueOf(loc.getBlockZ()));
replacementMap.put("material", "%item");
for (int i = 0; i + 1 < replacements.length; i+=2) {
replacementMap.put(replacements[i], replacements[i + 1]);