diff --git a/adminnotes.py b/adminnotes.py index b49ac0f..967f2ca 100644 --- a/adminnotes.py +++ b/adminnotes.py @@ -125,6 +125,9 @@ def adminnotes_command(sender, command, label, args): @hook.event("player.PlayerJoinEvent", "monitor") def on_an_join(event): + if not sender.hasPermission(an_permission): + noperm(sender) + return if len(notes) > 0: msg(event.getPlayer(), "&cThere are currently %s open notes!" % len(notes)) elif len(notes) == 0: