1
0
Fork 0
This commit is contained in:
codiac 2023-08-14 10:39:31 +10:00
parent 8c64fdfa5d
commit 246a95f973
1 changed files with 1 additions and 1 deletions

View File

@ -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({