diff --git a/switch/data/switch/function/modes/protect_the_king/start.mcfunction b/switch/data/switch/function/modes/protect_the_king/start.mcfunction index d87d7a624..1d19dd3b4 100644 --- a/switch/data/switch/function/modes/protect_the_king/start.mcfunction +++ b/switch/data/switch/function/modes/protect_the_king/start.mcfunction @@ -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 @@ -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 diff --git a/switch/data/switch/function/modes/sheepwars/start.mcfunction b/switch/data/switch/function/modes/sheepwars/start.mcfunction index 5ce0e5531..cdc096b5a 100644 --- a/switch/data/switch/function/modes/sheepwars/start.mcfunction +++ b/switch/data/switch/function/modes/sheepwars/start.mcfunction @@ -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 -