LTCatt 6 ani în urmă
părinte
comite
b1fa3447fe

+ 3 - 1
data/ltw/functions/state/0/player_enter.mcfunction

@@ -24,7 +24,9 @@ effect give @s weakness 1000000 4 true
 gamemode adventure @s[tag=!debug]
 
 # 传送玩家
-tp @s[tag=!debug] -10 8 -42 68 -20
+# FIXME
+tp @s[tag=!debug] 10.49 12.00 10.58 -539.78 5.82
+# tp @s[tag=!debug] -10 8 -42 68 -20
 
 # 刷新物品
 clear @s[tag=!debug]

+ 1 - 1
data/ltw/functions/state/0/try_start_gameparty.mcfunction

@@ -5,7 +5,7 @@ execute store result score $count mem if entity @a[tag=lobby_ready]
 
 # 判断玩家数量过少
 execute if score $count mem matches ..2 as @a at @s run function lib:sounds/error
-execute if score $count mem matches ..2 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},"需要至少 3 人准备以开始游戏, 当前仅有 ",{"score": {"name": "$count","objective": "mem"},"color":"red"},{"text": " 人","color":"red"}]
+execute if score $count mem matches ..2 run tellraw @a ["",{"text": ">> ","color":"red","bold": true},"需要至少 3 人准备以开始游戏, ",{"text":"当前仅有 ","color":"red"},{"score": {"name": "$count","objective": "mem"},"color":"red"},{"text": " 人","color":"red"}]
 execute if score $count mem matches ..2 run scoreboard players set $countdown mem 0
 
 # 提示未准备

+ 0 - 10
data/test/functions/mini/slime.mcfunction

@@ -1,10 +0,0 @@
-# 测试用:快速开始史莱姆
-tag @a add lobby_ready
-tag @a remove lobby_watch
-tag @a remove watcher
-function ltw:state/0/start_gameparty
-scoreboard players set $round mem 6
-scoreboard players set $mini_type mem 6
-function mini:main/game_init
-function ltw:state/4/state_enter
-say 已开始单个测试游戏!