Explorar el Código

Merge branch 'master' of https://github.com/LTCatt/LTW3

LTCatt hace 5 años
padre
commit
c6698189e5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data/item/functions/tick2.mcfunction

+ 1 - 1
data/item/functions/tick2.mcfunction

@@ -1,5 +1,5 @@
 # 防止玩家丢弃物品:如果物品存在 Thrower 则要求强制捡起
 # 防止玩家丢弃物品:如果物品存在 Thrower 则要求强制捡起
-execute as @e[type=item] if data entity @s Thrower run function item:disable_throw
+execute unless score $survival mem matches 1.. as @e[type=item] if data entity @s Thrower run function item:disable_throw
 
 
 # 检查玩家拾取奖励物品
 # 检查玩家拾取奖励物品
 execute as @a if data entity @s Inventory[{"tag":{"bonus_new":1b}}] run function item:bonus_item/call
 execute as @a if data entity @s Inventory[{"tag":{"bonus_new":1b}}] run function item:bonus_item/call