Skip to content

Commit

Permalink
v0.9.8
Browse files Browse the repository at this point in the history
quick update to #19 which allows the /advancement command to work properly
  • Loading branch information
Dockuin committed Jul 27, 2022
1 parent 3882d72 commit 5eef1e2
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ADVA.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ def ADV():

while len(nameList) != counter + 1:

collecttotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/collect' + nameList[counter].replace(" ","_") + '.json', 'x')
collecttotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/collect' + nameList[counter].lower().replace(" ","_") + '.json', 'x')
collecttotem.close()

collecttotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/collect' + nameList[counter].replace(" ","_") + '.json', 'a')
collecttotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/collect' + nameList[counter].lower().replace(" ","_") + '.json', 'a')

collecttotem.writelines(['{\n',
' "__comment": "Made by the Totems+ Team",\n',
Expand Down Expand Up @@ -246,10 +246,10 @@ def ADV():

while len(nameList) != counter + 1:

usetotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/use' + nameList[counter].replace(" ","_") + '.json', 'x')
usetotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/use' + nameList[counter].lower().replace(" ","_") + '.json', 'x')
usetotem.close()

usetotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/use' + nameList[counter].replace(" ","_") + '.json', 'a')
usetotem = open(worldLocation + '/datapacks/Totems+ CMD/data/totemsplus/advancements/use' + nameList[counter].lower().replace(" ","_") + '.json', 'a')

usetotem.writelines(['{\n',
' "__comment": "Made by the Totems+ Team",\n',
Expand Down
Binary file modified __pycache__/ADVA.cpython-310.pyc
Binary file not shown.
Binary file modified __pycache__/FUNC.cpython-310.pyc
Binary file not shown.
Binary file modified __pycache__/MCCMD.cpython-310.pyc
Binary file not shown.
Binary file modified __pycache__/OFCIT.cpython-310.pyc
Binary file not shown.

0 comments on commit 5eef1e2

Please sign in to comment.