Remove forEach on group replacements

This commit is contained in:
KingRainbow44 2023-04-14 23:56:42 -04:00
parent fcc68891be
commit f08ba95071
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -811,12 +811,8 @@ public final class ResourceLoader {
if (GameData.getGroupReplacements() == null || GameData.getGroupReplacements().isEmpty()) {
Grasscutter.getLogger().error("No Group Replacements loaded!");
return;
} else {
Grasscutter.getLogger().debug("Loaded {} group replacements.", GameData.getGroupReplacements().size());
GameData.getGroupReplacements().forEach((group, groups) -> {
Grasscutter.getLogger().debug("{} -> {}", group, groups.getReplace_groups().stream().map(String::valueOf).collect(Collectors.joining(",")));
});
}
}