Browse Source

File structure update.

master
MagicBot 1 year ago
parent
commit
9f906128c4
  1. 2
      src/engine/util/MapLoader.java

2
src/engine/util/MapLoader.java

@ -31,7 +31,7 @@ public enum MapLoader { @@ -31,7 +31,7 @@ public enum MapLoader {
// Load image from disk
try {
image = ImageIO.read(new File(ConfigManager.DEFAULT_DATA_DIR + "realmmap.png"));
image = ImageIO.read(new File(ConfigManager.DEFAULT_DATA_DIR + "realmmaps/" + ConfigManager.MB_WORLD_REALMMAP + ".png"));
// Array size determined by image size
MBServerStatics.SPATIAL_HASH_BUCKETSX = image.getWidth();

Loading…
Cancel
Save