From 76e3a00e180ef6e0d5d5460dae581f43907c6568 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Mon, 12 Jul 2021 22:21:15 +0200 Subject: [PATCH] Make potion arrows able to hit end crystals --- mods/ITEMS/mcl_potions/tipped_arrow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_potions/tipped_arrow.lua b/mods/ITEMS/mcl_potions/tipped_arrow.lua index 5dbb0de6..a5f2644e 100644 --- a/mods/ITEMS/mcl_potions/tipped_arrow.lua +++ b/mods/ITEMS/mcl_potions/tipped_arrow.lua @@ -198,7 +198,7 @@ function mcl_potions.register_arrow(name, desc, color, def) if obj:is_player() then ok = true elseif obj:get_luaentity() ~= nil then - if obj:get_luaentity()._cmi_is_mob then + if obj:get_luaentity()._cmi_is_mob or obj:get_luaentity()._hittable_by_projectile then ok = true end end