mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Merged in M4SS/holocore (pull request #556)
Added ADMIN permissions to patrol waypoints
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user