diff --git a/src/de/steamwar/bungeecore/ErrorLogger.java b/src/de/steamwar/bungeecore/ErrorLogger.java index eff349df..1dd6f9b5 100644 --- a/src/de/steamwar/bungeecore/ErrorLogger.java +++ b/src/de/steamwar/bungeecore/ErrorLogger.java @@ -47,7 +47,7 @@ public class ErrorLogger extends Handler { if(logRecord.getLevel().intValue() < Level.WARNING.intValue()) return; - String message = MessageFormat.format(logRecord.getMessage(), logRecord.getParameters()); + String message = logRecord.getParameters() != null ? MessageFormat.format(logRecord.getMessage(), logRecord.getParameters()) : logRecord.getMessage(); for(String reason : ignoreContains) if(message.contains(reason)) return;