Hotfix POI data mismatch mismatch
Dieser Commit ist enthalten in:
Ursprung
dc2d6c9a89
Commit
16a53462f1
@ -26,8 +26,10 @@ public class SWException {
|
|||||||
throwable = throwable.getCause();
|
throwable = throwable.getCause();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String st = stacktrace.toString();
|
||||||
|
|
||||||
String message = logEvent.getMessage().getFormattedMessage();
|
String message = logEvent.getMessage().getFormattedMessage();
|
||||||
if(message.startsWith("Block at") || message.contains("POI data mismatch"))
|
if(message.startsWith("Block at") || st.contains("POI data mismatch"))
|
||||||
return;
|
return;
|
||||||
else if(message.equals("The server has stopped responding!")){
|
else if(message.equals("The server has stopped responding!")){
|
||||||
logDisabled = true;
|
logDisabled = true;
|
||||||
@ -51,6 +53,6 @@ public class SWException {
|
|||||||
message += player.getName() + " ";
|
message += player.getName() + " ";
|
||||||
|
|
||||||
SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES (?, ?, ?)",
|
SQL.update("INSERT INTO Exception (server, message, stacktrace) VALUES (?, ?, ?)",
|
||||||
server, message, stacktrace.toString());
|
server, message, st);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren