Skip to content

Commit 89882d0

Browse files
authored
Fix incorrect uvs path
1 parent 38b0f85 commit 89882d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,9 @@ def __init__(self):
412412
# --------------------------------------------
413413

414414
# Load indexes of blocks and items from source
415-
with open("./assets/uvs/atlas.items.vanilla.uvs.json", "r") as f:
415+
with open(os.path.join(self.app_path, "assets/uvs/atlas.items.vanilla.uvs.json"), "r") as f:
416416
self.items = json.load(f)
417-
with open("./assets/uvs/atlas.terrain.vanilla.uvs.json", "r") as f:
417+
with open(os.path.join(self.app_path, "assets/uvs/atlas.terrain.vanilla.uvs.json"), "r") as f:
418418
self.blocks = json.load(f)
419419

420420
# Load resources

0 commit comments

Comments
 (0)