00ll00 %!s(int64=6) %!d(string=hai) anos
pai
achega
ee710e3ad6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      data/mini/functions/hotpm/pm_init.mcfunction

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

@@ -2,7 +2,7 @@
 tag @a[tag=pm_hoding] remove pm_hoding
 tag @a[tag=pm_hoding] remove pm_hoding
 
 
 # 刷新土豆
 # 刷新土豆
-execute as @r[tag=mini_running] run function mini:hotpm/pm_get
+execute as @a[limit=1,sort=furthest,tag=mini_running] run function mini:hotpm/pm_get
 
 
 # 告知玩家
 # 告知玩家
 tellraw @a [{"text":">> ","color":"gold","bold": true},{"selector":"@a[tag=pm_hoding]","color":"yellow","bold":false},{"text":" 获得了土豆!","color":"white","bold":false}]
 tellraw @a [{"text":">> ","color":"gold","bold": true},{"selector":"@a[tag=pm_hoding]","color":"yellow","bold":false},{"text":" 获得了土豆!","color":"white","bold":false}]