mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 15:30:30 +01:00
Fixed typo in intweak mod
This commit is contained in:
parent
0899d85dac
commit
001267c7eb
|
@ -37,7 +37,7 @@ minetest.register_on_punchnode(function(pos, node, puncher)
|
|||
if minetest.setting_getbool("creative_mode") then return end
|
||||
local pn = puncher:get_player_name()
|
||||
tools[pn] = puncher:get_wielded_item():get_name()
|
||||
if minetest.registred_items[tools[pn]] == nil then return end
|
||||
if minetest.registered_items[tools[pn]] == nil then return end
|
||||
ttyp[pn] = minetest.registered_items[tools[pn]].type
|
||||
local left = puncher:get_wielded_item():get_wear() + 65535/65--)
|
||||
local tab = minetest.registered_tools[tools[pn]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user