mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-27 04:25:14 +01:00
* Fixed enchants not being added to items.
This commit is contained in:
parent
980739dd11
commit
7cb8cafd01
@ -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>();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user