From c9f1fcbf51ef0c359c84b0799e541ee213d24fb7 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 23 Jul 2023 08:19:15 -0400 Subject: [PATCH] File structure update. --- src/engine/util/MapLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/util/MapLoader.java b/src/engine/util/MapLoader.java index ef90ef1a..5df3fe52 100644 --- a/src/engine/util/MapLoader.java +++ b/src/engine/util/MapLoader.java @@ -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