|
|
@@ -3,8 +3,8 @@
|
|
|
|
|
|
function mini:main/update_player_count
|
|
|
scoreboard players operation #count mem = $player_alive mem
|
|
|
-scoreboard players operation #count mem += #count mem
|
|
|
-scoreboard players operation #count mem += #count mem
|
|
|
-execute as @e[tag=phantom] run scoreboard players remove #count mem 1
|
|
|
+scoreboard players operation #count mem += $player_alive mem
|
|
|
+scoreboard players operation #count mem += $player_alive mem
|
|
|
+execute as @e[type=phantom] run scoreboard players remove #count mem 1
|
|
|
|
|
|
execute if score #count mem matches 1.. run function mini:phantom/game/summon
|