From 7cb8cafd016cbccf00e278bda636916862a99902 Mon Sep 17 00:00:00 2001 From: Cyprias Date: Sun, 28 Oct 2012 14:22:11 -0600 Subject: [PATCH] * Fixed enchants not being added to items. --- com/Acrobot/Breeze/Utils/MaterialUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com/Acrobot/Breeze/Utils/MaterialUtil.java b/com/Acrobot/Breeze/Utils/MaterialUtil.java index ba135b5..8485bbf 100644 --- a/com/Acrobot/Breeze/Utils/MaterialUtil.java +++ b/com/Acrobot/Breeze/Utils/MaterialUtil.java @@ -241,7 +241,7 @@ public class MaterialUtil { * @return Enchantments found */ public static Map getEnchantments(String base32) { - if (base32 == null || base32.isEmpty() || !NumberUtil.isLong(base32)) { + if (base32 == null || base32.isEmpty() || NumberUtil.isLong(base32)) { return new HashMap(); }