on_place is not required, also this message was misleading anyway
This commit is contained in:
parent
04fe508fe4
commit
1fe04f2eba
4
tool.lua
4
tool.lua
@ -11,10 +11,6 @@ protector.tool = {
|
|||||||
registered_protectors = {},
|
registered_protectors = {},
|
||||||
|
|
||||||
register_protector = function(self, nodename, data)
|
register_protector = function(self, nodename, data)
|
||||||
if not data.on_place then
|
|
||||||
print(S('[MOD] Protector Redo Tool: Error registering protector @1 missing on_place method', nodename))
|
|
||||||
end
|
|
||||||
|
|
||||||
data.nodes = data.nodes or {}
|
data.nodes = data.nodes or {}
|
||||||
table.insert(data.nodes, nodename)
|
table.insert(data.nodes, nodename)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user