Skip to content

Commit

Permalink
Merge branch 'release/v1.1.1-mc1.13'
Browse files Browse the repository at this point in the history
  • Loading branch information
xmamo committed Jul 20, 2018
2 parents 3365919 + 528729d commit 548b891
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions data/b7s/functions/config/tp_req/set_persist.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
# /scoreboard players set @s b7s.val (0|1)
# /function b7s:config/tp_req/set_persist

execute if score @s b7s.val matches 2147483648.. if score @s b7s.val matches 0 run scoreboard players set #b7s.persist_tpreq b7s.val 0
execute if score @s b7s.val matches 2147483648.. unless score @s b7s.val matches 0 run scoreboard players set #b7s.persist_tpreq b7s.val 1
execute if score @s b7s.val matches -2147483648.. if score @s b7s.val matches 0 run scoreboard players set #b7s.persist_tpreq b7s.val 0
execute if score @s b7s.val matches -2147483648.. unless score @s b7s.val matches 0 run scoreboard players set #b7s.persist_tpreq b7s.val 1
4 changes: 2 additions & 2 deletions data/b7s/functions/world/set_daytime.mcfunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
print()

for i in range(14, -1, -1):
print('execute if score @s b7s._tmp_1 matches {}.. run time add {}'.format(2 ** i, 2** i))
print('execute if score @s b7s._tmp_1 matches {}.. run scoreboard players remove @s b7s._tmp_1 {}'.format(2 ** i, 2** i))
print('execute if score @s b7s._tmp_1 matches {}.. run time add {}'.format(2 ** i, 2 ** i))
print('execute if score @s b7s._tmp_1 matches {}.. run scoreboard players remove @s b7s._tmp_1 {}'.format(2 ** i, 2 ** i))
4 changes: 2 additions & 2 deletions render.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
for script in file.parent.glob('**/*.py'):
if script != file and script.suffixes == ['.mcfunction', '.py']:
mcfunction = script.with_suffix('')
print('Rendering {}...'.format(str(mcfunction)), end = '')
print('Rendering {}...'.format(str(mcfunction)), end='')
with mcfunction.open('w') as f:
subprocess.run([sys.executable, str(script)], stdout = f)
subprocess.run([sys.executable, str(script)], stdout=f)
print(' DONE')

0 comments on commit 548b891

Please sign in to comment.