Fixed randomUint32()... No clue how this happened
Fixed randomUint32()... No clue how this happened

randomUint32()'s loop had the wrong compare. It will take much longer and never return max and usually nothing more than max/2 (realMax = 4294967295 % (max+1)). Take max of 1,234,567 then the max number returned is 1,139,791 and for max of 123,456 it is 21,722. If max+1 divides 4,294,967,295 then it will never return (2, 4, 14, 16, 50, 84, 254, 256, 770, 1284, 3854, 4368, 13106, 21844, 65534, 65536, 196610, 327684, 983054, 1114128, 3342386, 5570644, 16711934, 16843008, 50529026, 84215044, 252645134, 286331152, 858993458, 1431655764, 4294967294).
Sc00bz/ModRandom,Sc00bz/ModRandom,Sc00bz/ModRandom