diff --git a/data/boomber/functions/rope_ladder/event/place_ladder/found.mcfunction b/data/boomber/functions/rope_ladder/event/place_ladder/found.mcfunction index 1abb3fd..f9ed1c5 100644 --- a/data/boomber/functions/rope_ladder/event/place_ladder/found.mcfunction +++ b/data/boomber/functions/rope_ladder/event/place_ladder/found.mcfunction @@ -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 diff --git a/data/boomber/functions/rope_ladder/ladder/rope.mcfunction b/data/boomber/functions/rope_ladder/ladder/rope.mcfunction index 5ab5ef8..4138bea 100644 --- a/data/boomber/functions/rope_ladder/ladder/rope.mcfunction +++ b/data/boomber/functions/rope_ladder/ladder/rope.mcfunction @@ -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 \ No newline at end of file +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 \ No newline at end of file