Explorar o código

修正跑酷的旁观范围

LTCatt %!s(int64=6) %!d(string=hai) anos
pai
achega
3a0e520ac6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      data/mini/functions/parkour/spectator_range.mcfunction

+ 2 - 2
data/mini/functions/parkour/spectator_range.mcfunction

@@ -1,3 +1,3 @@
 # 观察者限制飞行范围
 # 观察者限制飞行范围
-execute as @a[gamemode=spectator] unless entity @s[x=1001,y=11,z=1001,dx=11,dy=17,dz=24] run spectate
-execute as @a[gamemode=spectator] unless entity @s[x=1001,y=11,z=1001,dx=11,dy=17,dz=24] run tp @s 1007 24 1005
+execute as @a[gamemode=spectator] unless entity @s[x=1001,y=11,z=1001,dx=11,dy=15,dz=24] run spectate
+execute as @a[gamemode=spectator] unless entity @s[x=1001,y=11,z=1001,dx=11,dy=15,dz=24] run tp @s 1007 24 1005