More fixes
Some checks are pending
Build plugin / build (push) Waiting to run

This commit is contained in:
2vb 2024-07-10 10:36:18 -07:00
parent b3a208c124
commit f54dcbcfdf
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class MapGui {
byte[] fileContent = Files.readAllBytes(guiFile.toPath());
InputStream inputStream = new ByteArrayInputStream(fileContent);
loadedGui = ChestGui.load(this, inputStream);
mapPane = new OutlinePane(1, 1, 7, 1); // Define your pane layout
mapPane = new OutlinePane(1, 1, 7, 3); // Define your pane layout
loadedGui.addPane(mapPane);
addMaps();
} else {

View File

@ -211,7 +211,7 @@ public class LevelManager {
} catch (IOException e) {
throw new RuntimeException(e);
}
// load levels when level tries to be editted
// Load levels from levelPath
loadWorldDir(levelPath, LevelType.LEVEL);
loadWorldDir(mapPath, LevelType.MAP);