Fix
Fixed IntToPoketype
This commit is contained in:
1 parent
1c66c369a7
commit
d7d2a999fe
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user