diff --git a/Minecraft.World/Random.cpp b/Minecraft.World/Random.cpp index c3cec54b..7f6cbf0a 100644 --- a/Minecraft.World/Random.cpp +++ b/Minecraft.World/Random.cpp @@ -74,8 +74,7 @@ int Random::nextInt() int Random::nextInt(int n) { - assert (n>0); - + //assert (n>0); //This makes DLCs crash in Debug if ((n & -n) == n) // i.e., n is a power of 2 return static_cast((static_cast(next(31)) * n) >> 31); // 4J Stu - Made int64_t instead of long