mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-08 23:13:25 -04:00
Merged in Undercova/holocore (pull request #68)
Fixed spawner service to load all location entries properly
This commit is contained in:
@@ -47,10 +47,7 @@ import services.objects.ObjectManager;
|
||||
|
||||
public final class SpawnerService extends Service {
|
||||
|
||||
private static final String GET_ALL_SPAWNERS_SQL =
|
||||
"SELECT static.*, buildings.object_id, buildings.terrain_name FROM static "
|
||||
+ "INNER JOIN buildings ON static.building_id = buildings.building_id "
|
||||
+ "GROUP BY buildings.building_id";
|
||||
private static final String GET_ALL_SPAWNERS_SQL = "SELECT static.*, buildings.object_id, buildings.terrain_name FROM static, buildings WHERE buildings.building_id = static.building_id";
|
||||
|
||||
private final ObjectManager objectManager;
|
||||
private final Collection<Spawner> spawners;
|
||||
@@ -133,4 +130,4 @@ public final class SpawnerService extends Service {
|
||||
|
||||
spawners.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user