Move the noErrorsInConfig check to Misc

This commit is contained in:
TfT_02
2013-08-09 19:10:03 +02:00
parent dcc18049a1
commit 6330c4a69e
3 changed files with 12 additions and 18 deletions

View File

@ -261,6 +261,14 @@ public final class Misc {
return ((Furnace) furnaceState).getInventory().getResult();
}
public static boolean noErrorsInConfig(List<String> issues) {
for (String issue : issues) {
mcMMO.p.getLogger().warning(issue);
}
return issues.isEmpty();
}
public static Random getRandom() {
return random;
}