mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-27 20:46:31 +01:00
Merge pull request #22 from Cyprias/master
Fixed enchants not being added to items.
This commit is contained in:
commit
60c291da03
@ -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