Let the tool slot loader ignore empty JSON
@@ -49,9 +49,10 @@ public class SlotInformationLoader extends JsonReloadListener {
ResourceLocation location = entry.getKey();
try {
JsonObject json = entry.getValue().getAsJsonObject();
-
+ if (!json.entrySet().isEmpty()) {
this.slotInformationMap.put(location, SlotInformation.fromJson(json));
}
+ }
catch (Exception e) {
log.warn("Exception loading slot information '{}': {}", location, e.getMessage());
}
