Restrictions Error logging change

Warning messages when failing to register a restriction now differ
depending on which registration phase had failed.
This commit is contained in:
ASangarin 2020-09-12 20:47:27 +02:00
parent a56375a556
commit ec418d3afa

View File

@ -33,7 +33,7 @@ public class RestrictionManager {
try { try {
perms.postLoad(); perms.postLoad();
} catch (IllegalArgumentException exception) { } catch (IllegalArgumentException exception) {
MMOCore.log(Level.WARNING, "Could not load block perms " + perms.getTool().display() + ": " + exception.getMessage()); MMOCore.log(Level.WARNING, "Could not postload block perms " + perms.getTool().display() + ": " + exception.getMessage());
} }
} }