forked from VoxeLibre/VoxeLibre
Fix typo
This commit is contained in:
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({
|
||||
|
|
Loading…
Reference in New Issue