aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0355-Anti-Xray.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0355-Anti-Xray.patch')
-rw-r--r--patches/server/0355-Anti-Xray.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0355-Anti-Xray.patch b/patches/server/0355-Anti-Xray.patch
index 97d0c4146e..7d35624bd0 100644
--- a/patches/server/0355-Anti-Xray.patch
+++ b/patches/server/0355-Anti-Xray.patch
@@ -1316,7 +1316,7 @@ index c696358102086257033b55adbef84b1a259cb46e..67b06640358e04752bf149e9380f5f83
public int getSerializedSize() {
diff --git a/src/main/java/net/minecraft/world/level/chunk/PalettedContainer.java b/src/main/java/net/minecraft/world/level/chunk/PalettedContainer.java
-index ef093604f001d3e899679f6d308780856f076193..45a969f97b26e328e34f3d576557999c32b954a2 100644
+index 438647aa32e91e35b5a6430961d1ce4d5558d3d4..fea05645c782969c1e949fe4d56d18c0c2159cc6 100644
--- a/src/main/java/net/minecraft/world/level/chunk/PalettedContainer.java
+++ b/src/main/java/net/minecraft/world/level/chunk/PalettedContainer.java
@@ -29,6 +29,7 @@ public class PalettedContainer<T> implements PaletteResize<T> {
@@ -1489,7 +1489,7 @@ index ef093604f001d3e899679f6d308780856f076193..45a969f97b26e328e34f3d576557999c
}
public void count(PalettedContainer.CountConsumer<T> counter) {
-@@ -304,9 +373,20 @@ public class PalettedContainer<T> implements PaletteResize<T> {
+@@ -303,9 +372,20 @@ public class PalettedContainer<T> implements PaletteResize<T> {
return 1 + this.palette.getSerializedSize() + FriendlyByteBuf.getVarIntSize(this.storage.getSize()) + this.storage.getRaw().length * 8;
}