From 9f906128c422c6126ce5a14c7ef4d0801b006f9b Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 23 Jul 2023 08:02:46 -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 d43cfda8..cf5e7641 100644 --- a/src/engine/util/MapLoader.java +++ b/src/engine/util/MapLoader.java @@ -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();