From dedbed0faf9242f47e35fd4a2cfe72e87cbc0be1 Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Wed, 11 Dec 2013 09:37:27 +0000 Subject: [PATCH] Fix Orebfuscator --- CraftBukkit-Patches/0017-Orebfuscator.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CraftBukkit-Patches/0017-Orebfuscator.patch b/CraftBukkit-Patches/0017-Orebfuscator.patch index bd7f72010..757483461 100644 --- a/CraftBukkit-Patches/0017-Orebfuscator.patch +++ b/CraftBukkit-Patches/0017-Orebfuscator.patch @@ -1,4 +1,4 @@ -From 209ef0020b994252e9bcdf4fffd8a8b3ea4321c5 Mon Sep 17 00:00:00 2001 +From a4d9f4610e157581f83016c4f3a46396c47cf0f3 Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 16 May 2013 18:51:05 +1000 Subject: [PATCH] Orebfuscator @@ -49,7 +49,7 @@ index 856e825..7169ec8 100644 try { this.buffer = chunkmap.a; diff --git a/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java b/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java -index 3eac231..c3cfdc7 100644 +index 3eac231..785953e 100644 --- a/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java +++ b/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java @@ -26,6 +26,7 @@ public class PacketPlayOutMapChunkBulk extends Packet { @@ -87,7 +87,7 @@ index 3eac231..c3cfdc7 100644 + int finalBufferSize = 0; + // Obfuscate all sections + for (int i = 0; i < a.length; i++) { -+ world.spigotConfig.antiXrayInstance.obfuscate(c[i], d[i], a[i], inflatedBuffers[i], world); ++ world.spigotConfig.antiXrayInstance.obfuscate(a[i], b[i], c[i], inflatedBuffers[i], world); + finalBufferSize += inflatedBuffers[i].length; + } + @@ -378,5 +378,5 @@ index 97d56bd..3a4f338 100644 + } } -- -1.8.3.2 +1.8.4.msysgit.0