Apply disable_repair group

This commit is contained in:
Wuzzy 2018-12-07 21:23:39 +01:00
parent af3785021b
commit 502be105ac
3 changed files with 4 additions and 3 deletions

View file

@ -169,6 +169,7 @@ minetest.register_tool("doc_identifier:identifier_solid", {
_doc_items_hidden = false,
tool_capabilities = {},
range = 10,
groups = { disable_repair = 1 },
wield_image = "doc_identifier_identifier.png",
inventory_image = "doc_identifier_identifier.png",
liquids_pointable = false,
@ -181,7 +182,7 @@ minetest.register_tool("doc_identifier:identifier_liquid", {
_doc_items_create_entry = false,
tool_capabilities = {},
range = 10,
groups = { not_in_creative_inventory = 1, not_in_craft_guide = 1 },
groups = { not_in_creative_inventory = 1, not_in_craft_guide = 1, disable_repair=1 },
wield_image = "doc_identifier_identifier_liquid.png",
inventory_image = "doc_identifier_identifier_liquid.png",
liquids_pointable = true,