forked from mtcontrib/maidroid
Fix typo
This commit is contained in:
parent
c10297fd0e
commit
294208b82f
4
api.lua
4
api.lua
@ -67,7 +67,7 @@ function maidroid.register_maidroid(product_name, def)
|
|||||||
module_def.initialize(self)
|
module_def.initialize(self)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
arrow_put = function(inv, listname, index, stack, player)
|
allow_put = function(inv, listname, index, stack, player)
|
||||||
local item_name = stack:get_name()
|
local item_name = stack:get_name()
|
||||||
local is_module = maidroid.registered_modules[item_name]
|
local is_module = maidroid.registered_modules[item_name]
|
||||||
if listname == main_invname
|
if listname == main_invname
|
||||||
@ -145,7 +145,7 @@ function maidroid.register_maidroid(product_name, def)
|
|||||||
|
|
||||||
-- register spawn egg
|
-- register spawn egg
|
||||||
minetest.register_craftitem(product_name.."_spawn_egg", {
|
minetest.register_craftitem(product_name.."_spawn_egg", {
|
||||||
description = def.description.." Swapn Egg",
|
description = def.description.." Spawn Egg",
|
||||||
inventory_image = def.inventory_image,
|
inventory_image = def.inventory_image,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
on_use = function(itemstack, user, pointed_thing)
|
on_use = function(itemstack, user, pointed_thing)
|
||||||
|
Loading…
Reference in New Issue
Block a user