refactor: nuke __int64/__uint64 in Minecraft.World

This commit is contained in:
Tropical
2026-03-21 17:10:36 -05:00
parent 8036565022
commit 357fca24aa
117 changed files with 251 additions and 251 deletions

View File

@@ -34,7 +34,7 @@ double Math::random() { return Math::rand.nextDouble(); }
// the value of Long.MAX_VALUE, the result is equal to the value of
// Long.MAX_VALUE. Parameters: a - a floating-point value to be rounded to a
// long. Returns: the value of the argument rounded to the nearest long value.
__int64 Math::round(double d) {
int64_t Math::round(double d) {
// 4jcraft fixes the fact that if double is a huge
// number than the cast of d to int64_t overflows