Procházet zdrojové kódy

修正跑酷的旁观范围

LTCatt před 6 roky
rodič
revize
3a0e520ac6

+ 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