mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-27 17:57:22 -04:00
Fixed potential crash
This commit is contained in:
@@ -993,6 +993,8 @@ public class PlayerObject extends IntangibleObject implements Serializable {
|
||||
if (getContainer() != null) {
|
||||
getContainer().notifyObservers(getBaseline(viewType).createDelta(updateType, buffer.array()), true);
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
if (getContainer() != null && getContainer().getClient() != null) {
|
||||
getContainer().getClient().getSession().write(getBaseline(viewType).createDelta(updateType, buffer.array()));
|
||||
|
||||
Reference in New Issue
Block a user