SteamWar/SpigotCore
Archiviert
13
0

Adding exception for POI data mismatch

Dieser Commit ist enthalten in:
Lixfel 2020-01-21 17:47:52 +01:00
Ursprung 8625447969
Commit c8bf5e7c76

Datei anzeigen

@ -21,7 +21,7 @@ public class SWException {
} }
String message = logEvent.getMessage().getFormattedMessage(); String message = logEvent.getMessage().getFormattedMessage();
if(message.startsWith("Block at")) if(message.startsWith("Block at") || message.startsWith("POI data mismatch"))
return; return;
SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES ('" + server + "', '" + SQL.disarmString(message) + "', '" + SQL.disarmString(stacktrace.toString()) + "')"); SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES ('" + server + "', '" + SQL.disarmString(message) + "', '" + SQL.disarmString(stacktrace.toString()) + "')");