Skip to content

Commit

Permalink
this message is probably not great
Browse files Browse the repository at this point in the history
  • Loading branch information
SubAt0m1c committed Oct 28, 2024
1 parent 1bf18e6 commit dabe4d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ object ChatCommands : Module(
val ign = match.groups[2]?.value ?: match.groups[5]?.value ?: match.groups[9]?.value ?: return@onMessage
val msg = match.groups[3]?.value ?: match.groups[7]?.value ?: match.groups[10]?.value ?: return@onMessage

if (whitelistOnly != isInBlacklist(ign)) return@onMessage modMessage("§cPlayer is not in the list!")
if (whitelistOnly != isInBlacklist(ign)) return@onMessage

runIn(8) {
handleChatCommands(msg, ign, channel)
Expand Down

0 comments on commit dabe4d8

Please sign in to comment.