Closed Niklp09 closed 2 months ago
check hook could have a signature like function travelnet.protection(pos, player, context)
where context is a string or 'enum' for one of: remove, edit, first setup.
optionally node could also be passed so that doesn't need to be looked up again.
I don't think a .register_check(f)
type of hook is needed here.
partially addresses #31
lgtm :+1:
Closes https://github.com/Archtec-io/bugtracker/issues/194 Concept approved by SwissalpS.