File structure update.
This commit is contained in:
1 parent
9f906128c4
commit
d9d905e34a
1 file changed
+2
-1
@@ -31,7 +31,8 @@ public enum MapLoader {
|
||||
// Load image from disk
|
||||
|
||||
try {
|
||||
image = ImageIO.read(new File(ConfigManager.DEFAULT_DATA_DIR + "realmmaps/" + ConfigManager.MB_WORLD_REALMMAP + ".png"));
|
||||
String mapPath = ConfigManager.DEFAULT_DATA_DIR + "realmmaps/" + ConfigManager.MB_WORLD_REALMMAP + ".png";
|
||||
image = ImageIO.read(new File(mapPath));
|
||||
|
||||
// Array size determined by image size
|
||||
MBServerStatics.SPATIAL_HASH_BUCKETSX = image.getWidth();
|
||||
|
||||
Reference in new issue
Block a user