mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-25 20:25:45 +01:00
Show item display names correctly
This commit is contained in:
parent
1e648acd17
commit
48e2cd647c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user