LTCatt 6 éve
szülő
commit
9d3fbe7ba1
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      data/lib/functions/effect/floating.mcfunction

+ 1 - 1
data/lib/functions/effect/floating.mcfunction

@@ -4,6 +4,6 @@
 scoreboard players remove @a effect_floating 1
 scoreboard players remove @a effect_floating 1
 execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run effect give @s levitation 1 12
 execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run effect give @s levitation 1 12
 execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run effect give @s slow_falling 2 0 true
 execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run effect give @s slow_falling 2 0 true
-execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run scoreboard players set @s effect_floating 2
 execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run function lib:sounds/teleport
 execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run function lib:sounds/teleport
+execute as @a[gamemode=!spectator,scores={effect_floating=..-5}] at @s if block ~ ~-1 ~ diamond_block run scoreboard players set @s effect_floating 2
 effect clear @a[scores={effect_floating=0}] levitation
 effect clear @a[scores={effect_floating=0}] levitation