Fix small typo
This commit is contained in:
committed by
RogueException
parent
c8fc0ffa33
commit
5ce609c323
@@ -100,7 +100,7 @@ namespace Discord.Commands
|
|||||||
|
|
||||||
if (reader == null && underlyingTypeInfo.IsEnum)
|
if (reader == null && underlyingTypeInfo.IsEnum)
|
||||||
{
|
{
|
||||||
reader = EnumTypeReader.GetReader(type);
|
reader = EnumTypeReader.GetReader(underlyingType);
|
||||||
Module.Service.AddTypeReader(type, reader);
|
Module.Service.AddTypeReader(type, reader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user