mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Outgoing packet null fix
This commit is contained in:
parent
1bef0e5865
commit
50f5a318e0
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user