Explorar o código

增加tnt持有者显示

HerobrineXia %!s(int64=5) %!d(string=hai) anos
pai
achega
56f129bd5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      data/mini/functions/hotpm/game/pm_show.mcfunction

+ 1 - 1
data/mini/functions/hotpm/game/pm_show.mcfunction

@@ -3,4 +3,4 @@ execute if data entity @s Inventory[{Slot:8b}] run scoreboard players set @s ite
 execute if data entity @s Inventory[{Slot:8b}] at @s run function item:pop_slot/return_item
 
 # 给予tnt显示
-replaceitem entity @s hotbar.8 tnt{game_item:1b,display:{Name:'[{"text":"你是TNT的持有者","color":"white","italic":false}]'}}
+replaceitem entity @s hotbar.8 tnt{game_item:1b,display:{Name:'[{"text":"你是TNT的持有者","color":"white","italic":false}]'}} 1