diff options
| author | mat <github@matdoes.dev> | 2022-05-28 18:28:35 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-05-28 18:28:35 -0500 |
| commit | 8cd0ff2aac9f8a03446f897c48fc92b00b5291a2 (patch) | |
| tree | f36e4ae993ab40a27d164826e7885835d95b1d65 | |
| parent | 6c1aeb4255cf3e9cb09c33fc2e43a9a587eb919e (diff) | |
| download | azalea-drasl-8cd0ff2aac9f8a03446f897c48fc92b00b5291a2.tar.xz | |
fix blocks dir
| -rw-r--r-- | codegen/lib/code/blocks.py | 5 |
1 files changed, 4 insertions, 1 deletions
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): |
