mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-04 05:16:21 -04:00
fixed null pointer at disconnect
This commit is contained in:
@@ -1580,7 +1580,8 @@ public class CreatureObject extends TangibleObject implements IPersistent {
|
||||
synchronized(objectMutex) {
|
||||
this.performanceListenee = performanceListenee;
|
||||
}
|
||||
getClient().getSession().write(messageBuilder.buildListenToId(performanceListenee.getObjectId()));
|
||||
if(getClient() != null)
|
||||
getClient().getSession().write(messageBuilder.buildListenToId(performanceListenee.getObjectId()));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user