SteamWar/SpigotCore
Archiviert
13
0

Remove unneccessary logged warnings

Dieser Commit ist enthalten in:
Lixfel 2020-11-11 15:36:27 +01:00
Ursprung 8794e1c50f
Commit 94a28078bd

Datei anzeigen

@ -43,12 +43,14 @@ public class SWException {
reasons.add("This crash report has been saved to:"); reasons.add("This crash report has been saved to:");
reasons.add("Could not pass event PlayerQuitEvent to WorldEditSUI"); reasons.add("Could not pass event PlayerQuitEvent to WorldEditSUI");
reasons.add("[ViaVersion] Failed to remove injection handler"); reasons.add("[ViaVersion] Failed to remove injection handler");
reasons.add("[ViaBackwards] Metadata for entity id");
reasons.add("Something went wrong upgrading!"); reasons.add("Something went wrong upgrading!");
reasons.add("Tried to load unrecognized recipe"); reasons.add("Tried to load unrecognized recipe");
reasons.add("Invalid BlockState in palette:"); reasons.add("Invalid BlockState in palette:");
reasons.add("Could not register alias toggleclipboard"); reasons.add("Could not register alias");
reasons.add("Can't keep up! Is the server overloaded?"); reasons.add("Can't keep up! Is the server overloaded?");
reasons.add("\tat "); reasons.add("\tat ");
reasons.add("java.lang.Exception");
ignorereasons = Collections.unmodifiableList(reasons); ignorereasons = Collections.unmodifiableList(reasons);
} }
@ -61,7 +63,7 @@ public class SWException {
if(message.startsWith(reason)) if(message.startsWith(reason))
return; return;
if(message.contains("moved too quickly!") || message.contains("was kicked for floating too long!")) if(message.contains("moved too quickly!") || message.contains("moved wrongly!") || message.contains("was kicked for floating too long!"))
return; return;
switch (message) { switch (message) {