Fixed another static spawn issue

This commit is contained in:
Treeku
2014-05-11 10:33:06 +01:00
parent c0481f258e
commit 4398a5ed93
+1 -1
View File
@@ -116,7 +116,7 @@ public class StaticService implements INetworkDispatch {
SWGObject object;
if (core.spawnService.getMobileTemplate(template) != null) {
object = core.spawnService.spawnCreature(template, planetName, cellId, x, y, z, qW, qX, qY, qZ, (short) -1);
object = core.spawnService.spawnCreature(template, objectId, planetName, cellId, x, y, z, qW, qX, qY, qZ, (short) -1);
} else {
object = core.objectService.createObject(template, objectId, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ), null, true, true);
}