From c8bf5e7c76f693dcfa387fe50fc5efb3e4fa0484 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 21 Jan 2020 17:47:52 +0100 Subject: [PATCH] Adding exception for POI data mismatch --- SpigotCore_Main/src/de/steamwar/sql/SWException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SWException.java b/SpigotCore_Main/src/de/steamwar/sql/SWException.java index 9bbc971..67599f9 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SWException.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SWException.java @@ -21,7 +21,7 @@ public class SWException { } String message = logEvent.getMessage().getFormattedMessage(); - if(message.startsWith("Block at")) + if(message.startsWith("Block at") || message.startsWith("POI data mismatch")) return; SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES ('" + server + "', '" + SQL.disarmString(message) + "', '" + SQL.disarmString(stacktrace.toString()) + "')");