Explorar el Código

使用后清理三叉戟

HerobrineXia hace 6 años
padre
commit
2684fff29e
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      data/mini/functions/phantom/game/use_trident.mcfunction

+ 4 - 1
data/mini/functions/phantom/game/use_trident.mcfunction

@@ -1,3 +1,6 @@
 # 设置玩家分数
 scoreboard players set @s countdown 2
-scoreboard players reset @s useTrident
+scoreboard players reset @s useTrident
+
+# 清除三叉戟以防bug
+clear @s trident{GameItem:1b}