From 39e34b8f4eae43801f2d23ec538ffd9cf4ed20c9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 7 May 2018 23:22:54 +0200 Subject: [PATCH] Fix charged bows being placable in itemframes --- mods/ITEMS/mcl_bows/bow.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mods/ITEMS/mcl_bows/bow.lua b/mods/ITEMS/mcl_bows/bow.lua index 2df774482b..3f8bdc7c1f 100644 --- a/mods/ITEMS/mcl_bows/bow.lua +++ b/mods/ITEMS/mcl_bows/bow.lua @@ -151,6 +151,10 @@ for level=0, 2 do itemstack:take_item() return itemstack end, + -- Prevent accidental interaction with itemframes and other nodes + on_place = function(itemstack) + return itemstack + end, }) end