Show item display names correctly

This commit is contained in:
HappyPikachu 2015-02-08 22:08:40 -05:00
parent 1e648acd17
commit 48e2cd647c

View File

@ -104,7 +104,7 @@ public class ItemUtil implements ColorUtil {
Enchantment e = Quests.getEnchantment(enchs[0]);
meta.addEnchant(e, Integer.parseInt(enchs[1]), true);
} else if (arg.startsWith("displayname-")) {
meta.setDisplayName(arg.substring(5));
meta.setDisplayName(arg.substring(12));
} else if (arg.startsWith("lore-")) {
lore.add(arg.substring(5));
} else {