* Fixed enchants not being added to items.

This commit is contained in:
Cyprias 2012-10-28 14:22:11 -06:00
parent 980739dd11
commit 7cb8cafd01

View File

@ -241,7 +241,7 @@ public class MaterialUtil {
* @return Enchantments found
*/
public static Map<org.bukkit.enchantments.Enchantment, Integer> getEnchantments(String base32) {
if (base32 == null || base32.isEmpty() || !NumberUtil.isLong(base32)) {
if (base32 == null || base32.isEmpty() || NumberUtil.isLong(base32)) {
return new HashMap<org.bukkit.enchantments.Enchantment, Integer>();
}