瀏覽代碼

观察者选奖励不会拖回去了

LTCatt 6 年之前
父節點
當前提交
0533d50175
共有 2 個文件被更改,包括 3 次插入 和 2 次删除
  1. 2 1
      data/ltw/functions/state/7/next2.mcfunction
  2. 1 1
      data/ltw/functions/state/7/tick2.mcfunction

+ 2 - 1
data/ltw/functions/state/7/next2.mcfunction

@@ -7,5 +7,6 @@ tag @s remove mini_rank4
 tag @s add selecting
 
 gamemode adventure
+tp @s 24.5 11.0 1967.5
 
-tellraw @s ["",{"text": ">> ","color":"green","bold": true},{"text":"轮到你选择奖励了!","color":"green"}]
+tellraw @s ["",{"text": ">> ","color":"green","bold": true},{"text":"轮到你选择奖励了!","color":"green"}]

+ 1 - 1
data/ltw/functions/state/7/tick2.mcfunction

@@ -1,3 +1,3 @@
 # 观察者限制
 execute as @a[gamemode=spectator] run spectate
-execute as @a[gamemode=spectator] run tp @s[tag=!debug] 24.5 11.0 1967.5
+execute as @a[gamemode=spectator] run tp @s[tag=!debug,x=12,y=9,z=1955,dx=24,dy=14,dz=24] 24.5 12.0 1967.5