Skip to content

Commit

Permalink
🐛 ProtectTheKing: sometimes not tp'ed in the right dimension
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoupy51 committed Oct 1, 2024
1 parent d41cb26 commit a5e95f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ effect give @a[tag=!detached] slowness 8 255 true
function switch:utils/set_dynamic_time

## Placement de la map et des joueurs
scoreboard players set #do_spreadplayers switch.data 1
function switch:choose_map_for/protect_the_king

gamerule naturalRegeneration false
Expand All @@ -24,8 +25,8 @@ scoreboard players set #cut_clean switch.data 1
scoreboard objectives setdisplay list switch.health

# Mise en place des deux bossbars
bossbar add switch.temp.red_king "Roi Rouge"
bossbar add switch.temp.blue_king "Roi Bleu"
bossbar add switch.temp.red_king "Red King"
bossbar add switch.temp.blue_king "Blue King"
bossbar set switch.temp.red_king color red
bossbar set switch.temp.blue_king color blue
bossbar set switch.temp.red_king max 40
Expand Down
3 changes: 0 additions & 3 deletions switch/data/switch/function/modes/sheepwars/start.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,3 @@ scoreboard players set #next_role switch.data 0
gamemode adventure @a[tag=!detached]
execute as @a[tag=!detached,sort=random] at @s run function switch:modes/sheepwars/team_and_give

# Load du sheepwars
function sheepwars:load

0 comments on commit a5e95f6

Please # to comment.