소스 검색

修复物品捡取bug

夏可文 6 년 전
부모
커밋
197ea5b298
3개의 변경된 파일과 0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 1
      data/item/functions/tick1.mcfunction
  2. 0 1
      data/item/functions/tick2.mcfunction
  3. 0 3
      data/ltw/functions/clock/tick1.mcfunction

+ 0 - 1
data/item/functions/tick1.mcfunction

@@ -1 +0,0 @@
-execute as @e[type=item] run data modify entity @s PickupDelay set value 0

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

@@ -1,4 +1,3 @@
-
 # 防止玩家丢弃物品:如果物品存在 Thrower 则要求强制捡起
 # 防止玩家丢弃物品:如果物品存在 Thrower 则要求强制捡起
 execute as @e[type=item] if data entity @s Thrower run function item:disable_throw
 execute as @e[type=item] if data entity @s Thrower run function item:disable_throw
 
 

+ 0 - 3
data/ltw/functions/clock/tick1.mcfunction

@@ -2,6 +2,3 @@
 
 
 # 调用其他模块
 # 调用其他模块
 execute if score $state mem matches 5 run function ltw:state/5/tick1
 execute if score $state mem matches 5 run function ltw:state/5/tick1
-
-# 调用物品模块
-function item:tick1