From d7d2a999fe0b585da537a7a11076b9eb7cbf0de9 Mon Sep 17 00:00:00 2001 From: "HACKERS\\Wayne" Date: Fri, 1 Apr 2016 16:36:40 +0100 Subject: [PATCH] Fix Fixed IntToPoketype --- NadekoBot/Modules/Pokemon/PokemonModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Modules/Pokemon/PokemonModule.cs b/NadekoBot/Modules/Pokemon/PokemonModule.cs index aace2e4f..ed181485 100644 --- a/NadekoBot/Modules/Pokemon/PokemonModule.cs +++ b/NadekoBot/Modules/Pokemon/PokemonModule.cs @@ -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); }