Merge branch 'main' of github.com:alemidev/aiocraft

This commit is contained in:
əlemi 2021-12-30 20:36:33 +01:00
commit beebdc42d9

View file

@ -276,7 +276,8 @@ def compile():
# First folder starting with PrismarineJS
folder_name = next(folder for folder in os.listdir(mc_path) if folder.startswith("PrismarineJS"))
shutil.rmtree(mc_path / 'proto')
if os.path.isdir(mc_path / 'proto'):
shutil.rmtree(mc_path / 'proto')
PACKETS = {
"handshaking": {