See extended for update notes...

- Fixed issue where player couldn't stop watching an ent.

Dev info:

ConnectionService:disconnect(): Error disconnecting client.
java.lang.NullPointerException
at resources.objects.creature.CreatureObject.setPerformanceWatchee(CreatureObject.java:1076)
This commit is contained in:
Treeku
2014-08-20 04:57:21 +01:00
parent 5eb0ee8465
commit 6eaa6fcd14
@@ -1073,7 +1073,7 @@ public class CreatureObject extends TangibleObject implements IPersistent {
this.performanceWatchee = performanceWatchee;
}
setListenToId(performanceWatchee.getObjectID());
setListenToId((performanceWatchee == null) ? 0L : performanceWatchee.getObjectID());
}
public CreatureObject getPerformanceListenee() {