diff --git a/data/lt/function/main/tick_runner.mcfunction b/data/lt/function/main/tick_runner.mcfunction index 4f471f37..e766be82 100644 --- a/data/lt/function/main/tick_runner.mcfunction +++ b/data/lt/function/main/tick_runner.mcfunction @@ -55,7 +55,7 @@ function lt:world_games/parkour/on_second function lt:world_games/dropper/on_tick # Build Mode Tools -execute in tropicraft:tropics as @a[tag=building,tag=!given_tools,current_world=true] at @s if data entity @s ForgeData.PlayerPersisted.gamemodebuild{active:1b} run function lt:utility/buildmode/give_tools +execute in tropicraft:tropics as @a[tag=building,tag=!given_tools,current_world=true] at @s if data entity @s NeoForgeData.PlayerPersisted.gamemodebuild{active:1b} run function lt:utility/buildmode/give_tools # Make interaction blocker invisible execute in tropicraft:tropics run effect give @e[type=slime,tag=interact_blocker] invisibility infinite 1 true diff --git a/data/lt/function/utility/buildmode/checker.mcfunction b/data/lt/function/utility/buildmode/checker.mcfunction index 603978e6..1b279b4b 100644 --- a/data/lt/function/utility/buildmode/checker.mcfunction +++ b/data/lt/function/utility/buildmode/checker.mcfunction @@ -1,3 +1,3 @@ -execute if entity @s[tag=building] if data entity @s ForgeData.PlayerPersisted.gamemodebuild{active:0b} run tellraw @s {"text":"lt.build.mode.inside.message","color":"green"} +execute if entity @s[tag=building] if data entity @s NeoForgeData.PlayerPersisted.gamemodebuild{active:0b} run tellraw @s {"text":"lt.build.mode.inside.message","color":"green"} execute if entity @s[tag=!building] run tellraw @s {"translate":"lt.build.mode.outside.message","color":"green"} -execute as @s[tag=building] at @s if data entity @s ForgeData.PlayerPersisted.gamemodebuild{active:1b} run function lt:utility/buildmode/give_tools \ No newline at end of file +execute as @s[tag=building] at @s if data entity @s NeoForgeData.PlayerPersisted.gamemodebuild{active:1b} run function lt:utility/buildmode/give_tools