39dea8a2ae
- Removed lots of unused variables, a few shadowed identifiers. - Removed a few sections of dead code.
12 lines
381 B
Lua
12 lines
381 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local nodecore
|
|
= nodecore
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
nodecore.register_on_register_item(function(_, def)
|
|
if def.type == "tool" then
|
|
def.sound = def.sound or {}
|
|
def.sound.breaks = def.sound.breaks or {name = "nc_api_toolbreak", gain = 1}
|
|
end
|
|
end)
|