change to key set so i can use a for each

This commit is contained in:
0x01FE 2025-02-17 14:33:49 -06:00
parent 754d9c6420
commit f39766a192

View File

@ -31,8 +31,8 @@ public class MythicItem {
ItemMeta item_metadata = item.getItemMeta(); ItemMeta item_metadata = item.getItemMeta();
JSONObject enchantments = json.getJSONObject("Enchantments"); JSONObject enchantments = json.getJSONObject("Enchantments");
for (String enchanment_key : enchantments.keys()) { for (String enchanment_key : enchantments.keySet()) {
} }
} }