mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-05 23:11:48 +01:00
Fix raw bukkit itemdb lookup
This commit is contained in:
parent
d9a238fb80
commit
ee080e56c2
@ -116,9 +116,9 @@ public class ItemDb implements IConf, IItemDb
|
||||
metaData = durabilities.get(itemname);
|
||||
}
|
||||
}
|
||||
else if (Material.getMaterial(itemname) != null)
|
||||
else if (Material.getMaterial(itemname.toUpperCase(Locale.ENGLISH)) != null)
|
||||
{
|
||||
itemid = Material.getMaterial(itemname).getId();
|
||||
itemid = Material.getMaterial(itemname.toUpperCase(Locale.ENGLISH)).getId();
|
||||
metaData = 0;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user