Skip to content
Permalink
Browse files

Show message when user tries providing non-existent style name in /se…

…tfont style
  • Loading branch information...
UnknownShadow200 committed Feb 15, 2018
1 parent d636581 commit 2152efe14f61c82d08168905839bf08a31bb743c
Showing with 2 additions and 0 deletions.
  1. +2 −0 fCraft/Commands/BuildingCommands.cs
@@ -430,6 +430,8 @@ static void SnapHandler(Player player, CommandReader cmd)
} else if (style.CaselessEquals("regular")) {
player.font = new System.Drawing.Font(player.font, FontStyle.Regular);
player.Message("SetFont: Style set to Regular ({0})", player.font.FontFamily.Name);
} else {
player.Message("Style must be: Italic, Bold, or Regular");
}
} else {
CdSetFont.PrintUsage(player);

0 comments on commit 2152efe

Please sign in to comment.
You can’t perform that action at this time.