Răsfoiți Sursa

修复观察者范围

HerobrineXia 6 ani în urmă
părinte
comite
7604df307b
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      data/mini/functions/colormatch/watcher_limit.mcfunction

+ 2 - 2
data/mini/functions/colormatch/watcher_limit.mcfunction

@@ -1,3 +1,3 @@
 # 观察者限定范围
-execute as @a[gamemode=spectator,x=1049,y=10,z=4025,dx=27,dz=27,dy=30] run spectate
-tp @a[gamemode=spectator,x=1049,y=10,z=4025,dx=27,dz=27,dy=30] 1062 22 4012 20 180
+execute as @a[gamemode=spectator] unless entity @s[x=1049,y=10,z=3999,dx=27,dz=27,dy=30] run spectate
+execute as @a[gamemode=spectator] unless entity @s[x=1049,y=10,z=3999,dx=27,dz=27,dy=30] run tp @s 1062 22 4012 20 180