You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Correct me if i'm wrong, but since you removed minetest.record_protection_violation, we can't use minetest.register_on_protection_violation to catch protection event of locked doors.
d5907d5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not use
if not digger then return false end
instead of removing theminetest.record_protection_violation(pos, digger:get_player_name())
?record_protection_violation is used by some mods and can't be handled now.
d5907d5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ShadowNinja ?
d5907d5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct me if i'm wrong, but since you removed
minetest.record_protection_violation
, we can't useminetest.register_on_protection_violation
to catch protection event of locked doors.