mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-14 21:22:09 +00:00
Fix raw bukkit itemdb lookup
This commit is contained in:
parent
d9a238fb80
commit
ee080e56c2
1 changed files with 2 additions and 2 deletions
|
@ -116,9 +116,9 @@ public class ItemDb implements IConf, IItemDb
|
||||||
metaData = durabilities.get(itemname);
|
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;
|
metaData = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue