Explorar o código

最远土豆修不了了就哈哈哈哈哈

LTCatt %!s(int64=6) %!d(string=hai) anos
pai
achega
7a6d18c447

+ 2 - 2
data/mini/functions/hotpm/player_enter.mcfunction

@@ -22,5 +22,5 @@ spreadplayers 1023 3021 5 5 false @s
 schedule function mini:hotpm/player_enter2 1t replace
 # schedule: tp @a ~ 25 ~
 
-# 给与土豆
-schedule function mini:hotpm/pm_init_init 5s replace
+# 3秒后给予土豆
+schedule function mini:hotpm/pm_init_init 3s replace

+ 2 - 2
data/mini/functions/hotpm/pm_init.mcfunction

@@ -1,8 +1,8 @@
 # 清理残余tag
 tag @a[tag=pm_hoding] remove pm_hoding
 
-# 刷新土豆
-execute at @s as @a[sort=nearest,tag=mini_running,limit=1] run function mini:hotpm/pm_get
+# 将土豆刷新给离自己最远的人
+execute at @s as @a[sort=furthest,tag=mini_running,limit=1] run function mini:hotpm/pm_get
 
 # 旁观土豆持有者
 execute as @a[gamemode=spectator] run spectate @p[tag=pm_hoding]