forked from VoxeLibre/VoxeLibre
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)
|
||||
if itemstack:get_name() == "mcl_maps:filled_map" then
|
||||
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())
|
||||
return itemstack
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue