Skip to content

Commit

Permalink
Hopefully fix it for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
UnRealDinnerbone committed Oct 26, 2024
1 parent 1bb5908 commit 014d904
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/lt/authority_behaviors/hockey.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"enter_commands": ["say enter"],
"exit_commands": ["say exit"]
"enter_commands": ["function lt:world_games/hockey/on_enter"],
"exit_commands": ["function lt:world_games/hockey/on_exit"]
}

4 changes: 3 additions & 1 deletion data/lt/function/main/on_load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,6 @@ team modify dropper seeFriendlyInvisibles true


# Hockey
scoreboard objectives add game.hockey dummy "Hockey"
scoreboard objectives add game.hockey dummy "Hockey"
team add hockey
team modify hockey collisionRule never
2 changes: 1 addition & 1 deletion data/lt/function/world_games/hockey/on_exit.mcfunction
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
team leave @s
execute if entity @s[team=hockey] run team leave @s
clear @s minecraft:wooden_hoe[minecraft:custom_data={HockeyStick:1b}]

0 comments on commit 014d904

Please sign in to comment.