fix: Cleans up create guild gump (#1326)

This commit is contained in:
Kamron Batman 2023-01-31 23:51:01 -08:00 committed by GitHub
parent b11ca29987
commit 8b3a2f9f5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 32 deletions

View file

@ -71,7 +71,7 @@ public abstract class BaseGuild : ISerializable
{
foreach (var g in World.Guilds.Values)
{
if (g.Name == name)
if (g.Name.InsensitiveEquals(name))
{
return g;
}
@ -84,7 +84,7 @@ public abstract class BaseGuild : ISerializable
{
foreach (var g in World.Guilds.Values)
{
if (g.Abbreviation == abbr)
if (g.Abbreviation.InsensitiveEquals(abbr))
{
return g;
}