Browse Source

Error logging added

combat-2
MagicBot 1 year ago
parent
commit
59c3bea2d6
  1. 2
      src/engine/InterestManagement/Terrain.java

2
src/engine/InterestManagement/Terrain.java

@ -44,7 +44,7 @@ public class Terrain { @@ -44,7 +44,7 @@ public class Terrain {
this.terrain_pixel_data = Terrain._heightmap_pixel_cache.get(heightmap);
if (terrain_pixel_data == null)
Logger.error("Pixel map empty");
Logger.error("Pixel map empty for zone: " + zone.getObjectUUID() + ":" + zone.zoneName);
this.cell_count.x = this.terrain_pixel_data.length - 1;
this.cell_count.y = this.terrain_pixel_data[0].length - 1;

Loading…
Cancel
Save