Skip to content

Commit

Permalink
πŸ› (fix) Wallstreet: non-players was able to interact with villagers
Browse files Browse the repository at this point in the history
  • Loading branch information
VForiel committed Jan 4, 2024
1 parent 61086b6 commit c7b2090
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Executed as and at the interacting player

# If the player is not part of the wallstreet game, he can't interact
execute if entity @s[team=!wallstreet] run return 0

# Confirmation sound and particles
playsound ui.button.click master @s ~ ~ ~ 1 1
# particle minecraft:cloud ~ ~ ~ 0 0 0 1 100 force
Expand Down

0 comments on commit c7b2090

Please sign in to comment.