mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Changed shuttling, eisley transport ship fixed
This commit is contained in:
@@ -77,7 +77,6 @@ import resources.objects.staticobject.StaticObject;
|
||||
import resources.objects.tangible.TangibleObject;
|
||||
import resources.objects.waypoint.WaypointObject;
|
||||
import resources.objects.weapon.WeaponObject;
|
||||
import services.travel.ShuttleObject;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
|
||||
@@ -143,11 +142,7 @@ public class ObjectService implements INetworkDispatch {
|
||||
if(objectID == 0)
|
||||
objectID = generateObjectID();
|
||||
|
||||
if(Template.equals(ShuttleObject.ShuttleType.CIVILIAN.toString()) || Template.equals(ShuttleObject.ShuttleType.STARSHIP.toString()) ||
|
||||
Template.equals(ShuttleObject.ShuttleType.THEED.toString())) {
|
||||
object = new ShuttleObject(objectID, planet, position, orientation, Template);
|
||||
|
||||
} else if(Template.startsWith("object/creature")) {
|
||||
if(Template.startsWith("object/creature")) {
|
||||
|
||||
object = new CreatureObject(objectID, planet, position, orientation, Template);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user