Skip to content
Permalink
Browse files

Fix /wset greeting (Thanks 123DMWM)

  • Loading branch information...
UnknownShadow200 committed Jul 1, 2017
1 parent 15ea403 commit 026ae2ed170c7f133d0f0d9cd7635832a160bbb0
Showing with 2 additions and 1 deletion.
  1. +1 −0 fCraft/Commands/WorldCommands.cs
  2. +1 −1 fCraft/Player/Chat.cs
@@ -3052,6 +3052,7 @@ static void WorldClearHandler(Player player, CommandReader cmd)
File.Delete("./WorldGreeting/" + world.Name + ".txt");
world.Greeting = null;
} else {
world.Greeting = value;
player.Message("Greeting message for world {0}&S set to: {1}", world.ClassyName, world.Greeting);
File.WriteAllText("./WorldGreeting/" + world.Name + ".txt", world.Greeting);
world.Greeting = null;
@@ -199,7 +199,7 @@ public static class Chat
Server.BotMessage("Your next rank is: " + next.ClassyName);
player.LastServerMessageDate = DateTime.UtcNow;
player.Info.TimesUsedBot++;
} else {
} else if (BotTime > 5) {
Server.BotMessage("You are already the highest rank.");
player.LastServerMessageDate = DateTime.UtcNow;
player.Info.TimesUsedBot++;

0 comments on commit 026ae2e

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