mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 23:33:46 +01:00
Fix typo
parent
8c64fdfa5d
commit
246a95f973
@ -114,7 +114,7 @@ mcl_mobs.register_mob("mobs_mc:snowman", {
|
|||||||
-- Remove pumpkin if using shears
|
-- Remove pumpkin if using shears
|
||||||
on_rightclick = function(self, clicker)
|
on_rightclick = function(self, clicker)
|
||||||
local item = clicker:get_wielded_item()
|
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
|
-- Remove pumpkin
|
||||||
self.gotten = true
|
self.gotten = true
|
||||||
self.object:set_properties({
|
self.object:set_properties({
|
||||||
|
Loading…
Reference in New Issue
Block a user