fix: Fixes guild assignment (#846)

This commit is contained in:
Kamron Batman 2021-11-13 16:31:10 -08:00 committed by GitHub
parent 38c4d09028
commit 91493f7f27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -666,7 +666,7 @@ namespace Server
T entity;
// Add to this list when creating new serializable types
if (typeof(BaseGuild).IsAssignableTo(typeT))
if (typeof(BaseGuild).IsAssignableFrom(typeT))
{
entity = FindGuild(serial) as T;
}