aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch')
-rw-r--r--patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch b/patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch
index 771107a256..cc53c02b77 100644
--- a/patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch
+++ b/patches/server/0382-Fix-missing-chunks-due-to-integer-overflow.patch
@@ -15,10 +15,10 @@ allows the distance calculation to avoid overflow and work as intended.
This issue is being tracked in Mojira ticket MC-159283
diff --git a/src/main/java/net/minecraft/world/level/levelgen/DensityFunctions.java b/src/main/java/net/minecraft/world/level/levelgen/DensityFunctions.java
-index 381dd2af60e9f45c0132a90e8dc1baec30aee4ad..61fcd3fc7b0990388a1bdde1b6c7f8a608520eeb 100644
+index ed4882fc82c97378b3512182c69e8a56fc74aea8..08165e84c0b8db7495bb66605bc73a269dd5152f 100644
--- a/src/main/java/net/minecraft/world/level/levelgen/DensityFunctions.java
+++ b/src/main/java/net/minecraft/world/level/levelgen/DensityFunctions.java
-@@ -525,7 +525,7 @@ public final class DensityFunctions {
+@@ -521,7 +521,7 @@ public final class DensityFunctions {
int j = z / 2;
int k = x % 2;
int l = z % 2;