From db00eb46d6765a66b14838e7de957b388dc225a0 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 7 Mar 2023 16:48:15 +0100 Subject: [PATCH] Add ignores to ErrorHandler --- SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java b/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java index 6e7e00c..2a5ffa5 100644 --- a/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java +++ b/SpigotCore_Main/src/de/steamwar/core/ErrorHandler.java @@ -70,7 +70,7 @@ public class ErrorHandler extends Handler { if(logRecord.getThrown() != null) logRecord.getThrown().printStackTrace(new PrintStream(stacktraceOutput)); String stacktrace = stacktraceOutput.toString(); - if(stacktrace.contains("POI data mismatch")) + if(stacktrace.contains("POI data mismatch") || stacktrace.contains("Newer version! Server downgrades are not supported!")) return; if(message.isEmpty() && stacktrace.isEmpty()) @@ -144,6 +144,11 @@ public class ErrorHandler extends Handler { startsWith.add("1.16 and 1.16.1 clients are only partially supported"); startsWith.add("Unable to parse CustomName from "); startsWith.add("java.util.ConcurrentModificationException"); + startsWith.add("com.destroystokyo.paper.exception.ServerInternalException: Attempted to place a tile entity"); + startsWith.add("World: minecraft:overworld"); + startsWith.add("Chunk coordinates: "); + startsWith.add("Failed to save history"); + startsWith.add("\t... "); ignoreStartsWith = Collections.unmodifiableList(startsWith); List contains = new ArrayList<>();