Bit of tidying

This commit is contained in:
Jim Shield
2025-09-10 01:26:02 +01:00
parent 301b069312
commit a0377df713
4 changed files with 22 additions and 13 deletions

View File

@@ -111,7 +111,7 @@ local notifyFunc = {
--- triggerNotify("Alert", "You have been warned for misconduct.", "error", playerId)
--- ```
function triggerNotify(title, message, type, src)
if not Config.System or not Config.System.Notify then debugPrint("Notify triggered but not set up") return end
if not Config.System?.Notify then debugPrint("Notify triggered but not set up") return end
if src then
notifyFunc[Config.System.Notify].server(title, message, type, src)