SteamWar/SpigotCore
Archiviert
13
0

Remove unneccessary logged warnings

Dieser Commit ist enthalten in:
Lixfel 2020-11-11 13:45:02 +01:00
Ursprung ef351455be
Commit e039392d01

Datei anzeigen

@ -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;