forked from MagicBane/Server
Start terrain refactor
This commit is contained in:
@@ -11,8 +11,8 @@ package engine.objects;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.Enum.*;
|
||||
import engine.InterestManagement.HeightMap;
|
||||
import engine.InterestManagement.RealmMap;
|
||||
import engine.InterestManagement.Terrain;
|
||||
import engine.InterestManagement.WorldGrid;
|
||||
import engine.db.archive.CityRecord;
|
||||
import engine.db.archive.DataWarehouse;
|
||||
@@ -588,7 +588,7 @@ public class City extends AbstractWorldObject {
|
||||
this.setBounds(cityBounds);
|
||||
|
||||
if (zone.getHeightMap() == null && this.isNpc == 1 && this.getObjectUUID() != 1213) {
|
||||
HeightMap.GenerateCustomHeightMap(zone);
|
||||
Terrain.GenerateCustomHeightMap(zone);
|
||||
Logger.info(zone.zoneName + " created custom heightmap");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user