Fixed diets not loading

This commit is contained in:
Sollace 2024-04-11 15:28:31 +01:00
parent c78abf58be
commit 59fbd177a2
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -76,7 +76,7 @@ public class DietsLoader implements IdentifiableResourceReloadListener {
if (!issueList.isEmpty()) { if (!issueList.isEmpty()) {
LOGGER.error("Could not load diet profile {}. Caused by {}", entry.getKey(), issueList.toString()); LOGGER.error("Could not load diet profile {}. Caused by {}", entry.getKey(), issueList.toString());
} }
return issueList.isEmpty(); return !issueList.isEmpty();
}); });
PonyDiets.load(new PonyDiets(profiles, foodGroups)); PonyDiets.load(new PonyDiets(profiles, foodGroups));
}, applyExecutor); }, applyExecutor);