Przeglądaj źródła

Merge branch 'master' of https://github.com/LTCatt/LTW3

LTCatt 6 lat temu
rodzic
commit
bcbd106600

+ 1 - 1
data/ltw/functions/main/player_changed.mcfunction

@@ -3,7 +3,7 @@ execute unless score $player_count mem matches -2147483648..2147483647 store res
 # 计算玩家数量
 execute store result score $player_count_now mem if entity @a
 # 比较玩家数量
-execute unless score $player_count_now mem = $player_count mem run function ltw:main/player_leave
+execute if score $player_count_now mem < $player_count mem run function ltw:main/player_leave
 
 # 重置玩家数量
 execute unless score $player_count_now mem = $player_count mem run scoreboard players operation $player_count mem = $player_count_now mem