mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-10 00:13:42 -04:00
Added cleanup intent so that creatureobject is not null during PE_DISAPPEAR
This commit is contained in:
@@ -121,6 +121,8 @@ public class ObjectAwareness extends Service {
|
||||
switch (pei.getEvent()) {
|
||||
case PE_DISAPPEAR:
|
||||
moveToLocation(creature, creature.getParent(), null);
|
||||
break;
|
||||
case PE_DESTROYED:
|
||||
creature.setOwner(null);
|
||||
break;
|
||||
case PE_ZONE_IN_SERVER:
|
||||
|
||||
Reference in New Issue
Block a user