Skip to content

Commit 026ae2e

Browse files
Fix /wset greeting (Thanks 123DMWM)
1 parent 15ea403 commit 026ae2e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

fCraft/Commands/WorldCommands.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3052,6 +3052,7 @@ static void SetGreeting(Player player, World world, string value) {
30523052
File.Delete("./WorldGreeting/" + world.Name + ".txt");
30533053
world.Greeting = null;
30543054
} else {
3055+
world.Greeting = value;
30553056
player.Message("Greeting message for world {0}&S set to: {1}", world.ClassyName, world.Greeting);
30563057
File.WriteAllText("./WorldGreeting/" + world.Name + ".txt", world.Greeting);
30573058
world.Greeting = null;

fCraft/Player/Chat.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static void checkBotResponses(Player player, string rawMessage) {
199199
Server.BotMessage("Your next rank is: " + next.ClassyName);
200200
player.LastServerMessageDate = DateTime.UtcNow;
201201
player.Info.TimesUsedBot++;
202-
} else {
202+
} else if (BotTime > 5) {
203203
Server.BotMessage("You are already the highest rank.");
204204
player.LastServerMessageDate = DateTime.UtcNow;
205205
player.Info.TimesUsedBot++;

0 commit comments

Comments
 (0)