From 8cd0ff2aac9f8a03446f897c48fc92b00b5291a2 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 28 May 2022 18:28:35 -0500 Subject: [PATCH] fix blocks dir --- codegen/lib/code/blocks.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codegen/lib/code/blocks.py b/codegen/lib/code/blocks.py index bf1260ba..fd268b98 100644 --- a/codegen/lib/code/blocks.py +++ b/codegen/lib/code/blocks.py @@ -1,4 +1,7 @@ -BLOCKS_RS_DIR = '../azalea-blocks/src/blocks.rs' +from lib.utils import get_dir_location + + +BLOCKS_RS_DIR = get_dir_location('../azalea-block/src/blocks.rs') def generate_blocks(blocks: dict):