This commit is contained in:
codiac 2023-08-14 10:39:31 +10:00
parent 8c64fdfa5d
commit 246a95f973

@ -114,7 +114,7 @@ mcl_mobs.register_mob("mobs_mc:snowman", {
-- Remove pumpkin if using shears
on_rightclick = function(self, clicker)
local item = clicker:get_wielded_item()
if self.gotten ~= true and inetest.get_item_group(item:get_name(), "shears") > 0 then
if self.gotten ~= true and minetest.get_item_group(item:get_name(), "shears") > 0 then
-- Remove pumpkin
self.gotten = true
self.object:set_properties({