forked from MineClone5/MineClone5
Correct typo (ninetest -> minetest)
This commit is contained in:
parent
ecea8f1662
commit
63d4e57a8d
|
@ -245,7 +245,7 @@ minetest.register_craft({
|
||||||
minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv)
|
minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv)
|
||||||
if itemstack:get_name() == "mcl_maps:filled_map" then
|
if itemstack:get_name() == "mcl_maps:filled_map" then
|
||||||
for _, stack in pairs(old_craft_grid) do
|
for _, stack in pairs(old_craft_grid) do
|
||||||
if ninetest.get_item_group(stack:get_name(), "filled_map") > 0 then
|
if minetest.get_item_group(stack:get_name(), "filled_map") > 0 then
|
||||||
itemstack:get_meta():from_table(stack:get_meta():to_table())
|
itemstack:get_meta():from_table(stack:get_meta():to_table())
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue