Browse Source

File structure update.

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

2
src/engine/util/MapLoader.java

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

Loading…
Cancel
Save