mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Fixed NPC crashing in anchorhead -- as well as other NPCs across the galaxy
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user