Skip to content

Commit

Permalink
on_place is not required, also this message was misleading anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
SX committed Jan 27, 2020
1 parent 04fe508 commit 1fe04f2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tool.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1fe04f2

Please sign in to comment.