Skip to content

Commit

Permalink
v1.0.1 - Hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oOBoomberOo committed Dec 30, 2019
1 parent 27634f2 commit d7d4b94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
execute store result score #bb.rl.ladder bb.variable run clear @s minecraft:ladder 0
execute if entity @s[gamemode=creative] run scoreboard players set #bb.rl.ladder bb.variable 2147483647

scoreboard players set #bb.rl.iteration bb.variable 0
function boomber:rope_ladder/ladder/rope
Expand Down
2 changes: 1 addition & 1 deletion data/boomber/functions/rope_ladder/ladder/rope.mcfunction
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function boomber:rope_ladder/ladder/place

scoreboard players add #bb.rl.iteration bb.variable 1
execute positioned ~ ~-1 ~ if block ~ ~ ~ #boomber:rope_ladder/air if score #bb.rl.iteration bb.variable <= #bb.rl.ladder bb.variable run function boomber:rope_ladder/ladder/rope
execute positioned ~ ~-1 ~ if block ~ ~ ~ #boomber:rope_ladder/air if score #bb.rl.iteration bb.variable < #bb.rl.ladder bb.variable run function boomber:rope_ladder/ladder/rope

0 comments on commit d7d4b94

Please sign in to comment.