mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 13:05:30 +02:00
Only grab List<String> if it's a proper list
This commit is contained in:
@@ -66,7 +66,7 @@ public class ItemWeightConfig extends Config {
|
||||
HashSet<Material> miscItems = new HashSet<Material>();
|
||||
|
||||
try {
|
||||
for (String item : getStringValueList(PARTY_SHAREABLES, MISC_ITEMS)) {
|
||||
for (String item : getListFromNode(PARTY_SHAREABLES, MISC_ITEMS)) {
|
||||
Material material = Material.getMaterial(item.toUpperCase());
|
||||
|
||||
if (material != null) {
|
||||
|
Reference in New Issue
Block a user