Fixed potential crash

This commit is contained in:
Treeku
2014-05-18 20:16:39 +01:00
parent 43a609f9df
commit efeb66f965
@@ -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()));