Merged in M4SS/holocore (pull request #556)

Added ADMIN permissions to patrol waypoints
This commit is contained in:
Mads Boddum
2018-02-25 04:21:32 +00:00
committed by Josh Larson
@@ -161,6 +161,7 @@ public final class SpawnerService extends Service {
npcPatrolRouteLoader.forEach(route -> {
for (PatrolRouteWaypoint waypoint : route) {
SWGObject obj = ObjectCreator.createObjectFromTemplate("object/tangible/ground_spawning/patrol_waypoint.iff");
obj.setContainerPermissions(ContainerPermissionsType.ADMIN);
obj.setLocation(getPatrolWaypointLocation(waypoint));
obj.moveToContainer(getPatrolWaypointParent(waypoint));
ObjectCreatedIntent.broadcast(obj);