Add disable_repair group
This commit is contained in:
parent
9170c29506
commit
58177b1086
6
init.lua
6
init.lua
@ -112,7 +112,7 @@ minetest.register_tool("teletool:teletool_infinite", {
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
groups = { teletool = 1 },
|
||||
groups = { teletool = 1, disable_repair = 1 },
|
||||
})
|
||||
|
||||
|
||||
@ -156,7 +156,7 @@ if(minetest.get_modpath("technic")) then
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
groups = { teletool = 1 },
|
||||
groups = { teletool = 1, disable_repair = 1 },
|
||||
|
||||
-- Technic data
|
||||
wear_represents = "technic_RE_charge",
|
||||
@ -197,7 +197,7 @@ if(minetest.get_modpath("mana") ~= nil) then
|
||||
end
|
||||
return itemstack
|
||||
end,
|
||||
groups = { teletool = 1 },
|
||||
groups = { teletool = 1, disable_repair = 1 },
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user