Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 15:50:14 +01:00
Allow skin uploader to log messages instead of closing the connection
Dieser Commit ist enthalten in:
Ursprung
11b10e2857
Commit
14894c8f27
@ -132,13 +132,13 @@ public final class FloodgateSkinUploader {
|
|||||||
String logMessage = node.get("message").asText();
|
String logMessage = node.get("message").asText();
|
||||||
switch (node.get("priority").asInt()) {
|
switch (node.get("priority").asInt()) {
|
||||||
case -1:
|
case -1:
|
||||||
logger.debug("Got debug message from skin uploader: " + logMessage);
|
logger.debug("Got a message from skin uploader: " + logMessage);
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
logger.info("Got info message from skin uploader: " +logMessage);
|
logger.info("Got a message from skin uploader: " +logMessage);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
logger.error("Got error message from skin uploader: " + logMessage);
|
logger.error("Got a message from skin uploader: " + logMessage);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logger.info(logMessage);
|
logger.info(logMessage);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren