Handler update.

This commit is contained in:
2024-03-31 11:20:32 -04:00
parent 3395efee49
commit d80231eef0
+4 -2
View File
@@ -291,9 +291,11 @@ public enum Protocol {
if (msg == null)
return false;
Protocol protocol = null;
try {
Protocol protocol = msg.getProtocolMsg();
protocol = msg.getProtocolMsg();
// Unhandled opcode
@@ -308,7 +310,7 @@ public enum Protocol {
protocol.handler.handleNetMsg(msg);
} catch (Exception e) {
Logger.error("handler for " + msg.getProtocolMsg() + " failed: " + e);
Logger.error("handler for " + protocol + " failed: " + e);
return false;
}