Outgoing packet null fix

This commit is contained in:
ArpyAge 2024-10-20 01:30:46 +02:00
parent 1bef0e5865
commit 50f5a318e0

View File

@ -17,8 +17,12 @@ public abstract class MessageComposer {
public ServerMessage compose() { public ServerMessage compose() {
if (this.composed == null) { if (this.composed == null) {
this.composed = this.composeInternal(); this.composed = this.composeInternal();
if(this.composed != null) {
if(this.composed.getComposer() == null) {
this.composed.setComposer(this); this.composed.setComposer(this);
} }
}
}
return this.composed; return this.composed;
} }