Fixed IntToPoketype
This commit is contained in:
HACKERS\Wayne 2016-04-01 16:36:40 +01:00
parent 1c66c369a7
commit d7d2a999fe

View File

@ -49,7 +49,7 @@ namespace NadekoBot.Modules.Pokemon
return PokemonTypesMain.IntToPokeType(setTypes[(long)id]);
}
int remainder = Math.Abs((int)(id % 16));
int remainder = Math.Abs((int)(id % 18));
return PokemonTypesMain.IntToPokeType(remainder);
}