Correct typo (ninetest -> minetest)

This commit is contained in:
Elias Fleckenstein 2021-05-02 17:19:11 +02:00
parent ecea8f1662
commit 63d4e57a8d

View file

@ -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