mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-12 20:34:36 +01:00
Fix crash when submitting empty player signature
This commit is contained in:
@@ -17,7 +17,7 @@ public class HandlerPlayerSignatureEdit extends NetHandler {
|
||||
var req = PlayerSignatureEditReq.parseFrom(message);
|
||||
var signature = req.getSignature();
|
||||
|
||||
if (signature == null) {
|
||||
if (signature == null || signature.isEmpty()) {
|
||||
return session.encodeMsg(NetMsgId.player_signature_edit_failed_ack);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user