Browse Source

Fix small typo

tags/1.0-rc
Finite Reality RogueException 8 years ago
parent
commit
5ce609c323
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/Command.cs

+ 1
- 1
src/Discord.Net.Commands/Command.cs View File

@@ -100,7 +100,7 @@ namespace Discord.Commands

if (reader == null && underlyingTypeInfo.IsEnum)
{
reader = EnumTypeReader.GetReader(type);
reader = EnumTypeReader.GetReader(underlyingType);
Module.Service.AddTypeReader(type, reader);
}



Loading…
Cancel
Save