Fixed NPC crashing in anchorhead -- as well as other NPCs across the galaxy

This commit is contained in:
Obique PSWG
2015-09-26 01:16:54 -05:00
parent b12f71e362
commit 2dcb09e701
+1 -1
View File
@@ -67,6 +67,7 @@ public final class ObjectCreator {
private static SWGObject createObjectFromType(long objectId, String type) {
switch (type) {
case "mobile":
case "creature": return new CreatureObject(objectId);
case "player": return new PlayerObject(objectId);
case "tangible": return new TangibleObject(objectId);
@@ -80,7 +81,6 @@ public final class ObjectCreator {
case "installation": return new InstallationObject(objectId);
case "ship": return new ShipObject(objectId);
case "soundobject": return new SoundObject(objectId);
case "mobile": return new MobileObject(objectId);
}
return null;
}