Fix Orebfuscator
This commit is contained in:
parent
3860a7b228
commit
dedbed0faf
1 changed files with 4 additions and 4 deletions
|
@ -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 <md_5@live.com.au>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Thu, 16 May 2013 18:51:05 +1000
|
Date: Thu, 16 May 2013 18:51:05 +1000
|
||||||
Subject: [PATCH] Orebfuscator
|
Subject: [PATCH] Orebfuscator
|
||||||
|
@ -49,7 +49,7 @@ index 856e825..7169ec8 100644
|
||||||
try {
|
try {
|
||||||
this.buffer = chunkmap.a;
|
this.buffer = chunkmap.a;
|
||||||
diff --git a/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java b/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java
|
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
|
--- a/src/main/java/net/minecraft/server/PacketPlayOutMapChunkBulk.java
|
||||||
+++ b/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 {
|
@@ -26,6 +26,7 @@ public class PacketPlayOutMapChunkBulk extends Packet {
|
||||||
|
@ -87,7 +87,7 @@ index 3eac231..c3cfdc7 100644
|
||||||
+ int finalBufferSize = 0;
|
+ int finalBufferSize = 0;
|
||||||
+ // Obfuscate all sections
|
+ // Obfuscate all sections
|
||||||
+ for (int i = 0; i < a.length; i++) {
|
+ 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;
|
+ finalBufferSize += inflatedBuffers[i].length;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
@ -378,5 +378,5 @@ index 97d56bd..3a4f338 100644
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
--
|
--
|
||||||
1.8.3.2
|
1.8.4.msysgit.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue