Fixed connecting to galaxy bug where players are stuck there

This commit is contained in:
Obique PSWG
2015-08-08 11:00:24 -05:00
parent b31156d958
commit e38c966bd5
4 changed files with 36 additions and 15 deletions
+4 -2
View File
@@ -260,11 +260,13 @@ public class ObjectManager extends Manager {
for (SWGObject obj : p.getCreatureObject().getObservers())
p.getCreatureObject().destroyObject(obj.getOwner());
break;
case PE_FIRST_ZONE:
if (p.getCreatureObject().getParent() == null)
p.getCreatureObject().createObject(p);
break;
case PE_ZONE_IN:
p.getCreatureObject().clearAware();
objectAwareness.update(p.getCreatureObject());
if (p.getCreatureObject().getParent() == null)
p.getCreatureObject().createObject(p);
break;
default:
break;