on_place is not required, also this message was misleading anyway

This commit is contained in:
SX 2020-01-27 20:31:56 +02:00
parent 04fe508fe4
commit 1fe04f2eba

View File

@ -11,10 +11,6 @@ protector.tool = {
registered_protectors = {},
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 {}
table.insert(data.nodes, nodename)