Skip to content

Commit

Permalink
Fix wrong colour in kick message upon /ban (Thanks fam0r)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Feb 3, 2021
1 parent 870d7d4 commit 48f649c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MCGalaxy/CorePlugin/ModActionHandler.cs
Expand Up @@ -120,7 +120,8 @@ internal static class ModActionHandler {

if (who != null) {
string msg = e.Reason.Length == 0 ? Server.Config.DefaultBanMessage : e.Reason;
who.Kick("Banned by " + e.Actor.ColoredName + ": " + msg);
who.Kick("Banned by " + e.Actor.ColoredName + ": %S" + msg,
"Banned by " + e.Actor.ColoredName + ": &f" + msg);
}
}
}
Expand Down

0 comments on commit 48f649c

Please sign in to comment.