Skip to content

Commit

Permalink
🐛 (fix) Wallstreet: it was possible for players to die during a game
Browse files Browse the repository at this point in the history
  • Loading branch information
VForiel committed Jan 4, 2024
1 parent 6ae78ee commit 61086b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions minigames/data/wallstreet/functions/start/start.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ function #bs.sidebar:create { \
scoreboard objectives setdisplay sidebar.team.yellow bs.sidebar.wallstreet

function wallstreet:music/start


effect give @a[team=wallstreet] resistance infinite 127 true
effect give @a[team=wallstreet] regeneration infinite 127 true
effect give @a[team=wallstreet] weakness infinite 127 true
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@

clear @s
effect clear @s resistance
effect clear @s regeneration
effect clear @s weakness
team leave @s
tag @s remove wallstreet.villager.client
tag @s remove wallstreet.villager.locked
Expand Down

0 comments on commit 61086b6

Please sign in to comment.