Fix
Fixed IntToPoketype
This commit is contained in:
parent
1c66c369a7
commit
d7d2a999fe
@ -49,7 +49,7 @@ namespace NadekoBot.Modules.Pokemon
|
|||||||
return PokemonTypesMain.IntToPokeType(setTypes[(long)id]);
|
return PokemonTypesMain.IntToPokeType(setTypes[(long)id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
int remainder = Math.Abs((int)(id % 16));
|
int remainder = Math.Abs((int)(id % 18));
|
||||||
|
|
||||||
return PokemonTypesMain.IntToPokeType(remainder);
|
return PokemonTypesMain.IntToPokeType(remainder);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user