This isn't true this is something wrong with pixelmon either you have configured something wrong or it's a bug and needs to be alerted to them. I can't diagnose it entirely because pixelmon is not open source and all I can tell you is that they are trying to generate a random number with an incorrect parameter.