From f8d8e8f28dd53673acbeddeb2ea292c9a2b77dbc Mon Sep 17 00:00:00 2001 From: Li Date: Sun, 8 May 2022 17:22:58 +1200 Subject: [PATCH] Fix %CALL HORSE% --- HorseIsleServer/LibHISP/Game/Chat/Command.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HorseIsleServer/LibHISP/Game/Chat/Command.cs b/HorseIsleServer/LibHISP/Game/Chat/Command.cs index 0de0d1c..ff4bf21 100644 --- a/HorseIsleServer/LibHISP/Game/Chat/Command.cs +++ b/HorseIsleServer/LibHISP/Game/Chat/Command.cs @@ -783,14 +783,14 @@ namespace HISP.Game.Chat return false; if (args.Length <= 0) - return; - + return false; + string formattedmessage = ""; try { if (args[0].ToUpper() != "HORSE") return false; - string formattedmessage = Messages.FormatPlayerCommandCompleteMessage(message); + formattedmessage = Messages.FormatPlayerCommandCompleteMessage(message); WildHorse horse = WildHorse.WildHorses[GameServer.RandomNumberGenerator.Next(0, WildHorse.WildHorses.Length)]; horse.X = user.X;