Fix casing

This commit is contained in:
SilicaAndPina 2021-06-28 18:37:43 +12:00
parent 084cf658d2
commit 831523da45

View file

@ -19,7 +19,7 @@ namespace HISP.Game.Chat
continue;
if (client.LoggedIn)
{
if (client.LoggedinUser.Username.ToLower().Contains(name))
if (client.LoggedinUser.Username.ToLower().Contains(name.ToLower()))
{
return client.LoggedinUser;
}
@ -59,7 +59,7 @@ namespace HISP.Game.Chat
return false;
}
}
if (args[0].ToUpper() == "HORSE")
else if (args[0].ToUpper() == "HORSE")
{
int horseId = 0;
try