File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ command /enablefly:
20
20
executable by: players
21
21
trigger:
22
22
if {flyable.%player%.flying} is not "flying":
23
+ set y-coordinate of {flyable.location} to y-coordinate of player
23
24
if distance between {flyable.location} and location of player is less than {flyable.range}:
24
25
set {flyable.%player%.flying} to "flying"
25
26
set {flyable.%player%.warned} to "notwarned"
@@ -51,6 +52,7 @@ command /warnstatus:
51
52
52
53
Every 30 seconds in "world":
53
54
Loop all players:
55
+ set y-coordinate of {flyable.location} to y-coordinate of loop-player
54
56
if {flyable.%loop-player%.flying} is "flying":
55
57
message "飛行可能区域中心からの距離:%distance between {flyable.location} and location of loop-player%" to loop-player
56
58
if distance between {flyable.location} and location of loop-player is greater than {flyable.range}:
You can’t perform that action at this time.
0 commit comments