mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-12 20:34:36 +01:00
Fix null pointer error during disc crescendo
This commit is contained in:
@@ -32,7 +32,7 @@ public class HandlerDiscLimitBreakReq extends NetHandler {
|
||||
// Create response
|
||||
var rsp = DiscLimitBreakResp.newInstance()
|
||||
.setStar(disc.getStar())
|
||||
.setChange(null);
|
||||
.setChange(change.toProto());
|
||||
|
||||
return session.encodeMsg(NetMsgId.disc_limit_break_succeed_ack, rsp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user