mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-21 11:03:13 -04:00
Changed spawn location to Vreni Island
This commit is contained in:
@@ -30,6 +30,11 @@ public class TerrainZoneInsertion {
|
||||
}
|
||||
}
|
||||
|
||||
public static final Location getInsertionForArea(Terrain terrain, double x, double y, double z) {
|
||||
return generateRandomLocation(terrain, x, y, z, 5);
|
||||
}
|
||||
|
||||
|
||||
private static final Location generateRandomLocation(Terrain terrain, double x, double y, double z, double delta) {
|
||||
Location location = new Location();
|
||||
location.setTerrain(terrain);
|
||||
|
||||
@@ -348,6 +348,7 @@ public class ZoneService extends Service {
|
||||
}
|
||||
|
||||
private Location getStartLocation(String start) {
|
||||
return TerrainZoneInsertion.getInsertionForTerrain(Terrain.LOK);
|
||||
// return TerrainZoneInsertion.getInsertionForTerrain(Terrain.LOK);
|
||||
return TerrainZoneInsertion.getInsertionForArea(Terrain.CORELLIA, -5436, 24, -6211);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user