Show empty map in creative inv, but don't show filled map there

This commit is contained in:
Elias Fleckenstein 2021-05-02 12:24:22 +02:00 committed by Nils Dagsson Moskopp
parent d0b78d38f5
commit ad6ebad06f
No known key found for this signature in database
GPG Key ID: A3BC671C35191080
1 changed files with 1 additions and 2 deletions

View File

@ -150,7 +150,6 @@ minetest.register_craftitem("mcl_maps:empty_map", {
_doc_items_longdesc = S("Empty maps are not useful as maps, but they can be stacked and turned to maps which can be used."),
_doc_items_usagehelp = S("Rightclick to create a filled map (which can't be stacked anymore)."),
inventory_image = "mcl_maps_map_empty.png",
groups = { not_in_creative_inventory = 1 },
on_place = make_filled_map,
on_secondary_use = make_filled_map,
stack_max = 64,
@ -161,7 +160,7 @@ minetest.register_craftitem("mcl_maps:filled_map", {
_tt_help = S("Shows a map image."),
_doc_items_longdesc = S("When created, the map saves the nearby area as an image that can be viewed any time by holding the map."),
_doc_items_usagehelp = S("Hold the map in your hand. This will display a map on your screen."),
groups = { tool = 1 },
groups = { tool = 1, not_in_creative_inventory = 1 },
inventory_image = "mcl_maps_map_filled.png^(mcl_maps_map_filled_markings.png^[colorize:#000000)",
stack_max = 64,
})