File structure update.

This commit is contained in:
2023-07-23 08:19:15 -04:00
parent 303ccd05b5
commit c9f1fcbf51
+1 -1
View File
@@ -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