From d89687984b8938239a9838016ebb917d53fada68 Mon Sep 17 00:00:00 2001 From: AFCMS Date: Sat, 26 Feb 2022 22:16:10 +0100 Subject: [PATCH] make ender pearls activate target --- mods/ITEMS/mcl_throwing/register.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mods/ITEMS/mcl_throwing/register.lua b/mods/ITEMS/mcl_throwing/register.lua index 0bfcffc7b..8683eea0a 100644 --- a/mods/ITEMS/mcl_throwing/register.lua +++ b/mods/ITEMS/mcl_throwing/register.lua @@ -284,6 +284,9 @@ local function pearl_on_step(self, dtime) end self.object:remove() + if mod_target and node.name == "mcl_target:target_off" then + mcl_target.hit(vector.round(pos), 0.4) --4 redstone ticks + end return end end