From e039392d017271b5cb3969764e8c16881ea712a2 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 11 Nov 2020 13:45:02 +0100 Subject: [PATCH] Remove unneccessary logged warnings --- SpigotCore_Main/src/de/steamwar/sql/SWException.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SWException.java b/SpigotCore_Main/src/de/steamwar/sql/SWException.java index 40f7335..59aaa08 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SWException.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SWException.java @@ -45,6 +45,8 @@ public class SWException { reasons.add("[ViaVersion] Failed to remove injection handler"); reasons.add("Something went wrong upgrading!"); reasons.add("Tried to load unrecognized recipe"); + reasons.add("Invalid BlockState in palette:"); + reasons.add("Could not register alias toggleclipboard"); ignorereasons = Collections.unmodifiableList(reasons); } @@ -57,6 +59,9 @@ public class SWException { if(message.startsWith(reason)) return; + if(message.contains("moved too quickly!") || message.contains("was kicked for floating too long!")) + return; + switch (message) { case "The server has stopped responding!": logDisabled = true;