Remove patch #15 - optimized chunk unload

This commit is contained in:
md_5 2013-07-02 13:21:57 +10:00
parent 6c93b3cc48
commit 11056f21c8
45 changed files with 50 additions and 105 deletions

View File

@ -1,55 +0,0 @@
From 9007f313ede8a4a7711890086191f20e8c6b14f8 Mon Sep 17 00:00:00 2001
From: Ammar Askar <ammar@ammaraskar.com>
Date: Fri, 18 Jan 2013 16:20:01 +0500
Subject: [PATCH] Optimize Chunk Unload Packet
At the moment telling a client to unload a chunk involves calling the entire chunk from memory, deflating it and then sending it through the pipes even though the client ignores it and based on the bitmap simply unloads the chunk, and to add the cherry on top, this is done on the main server thread.
diff --git a/src/main/java/net/minecraft/server/Packet51MapChunk.java b/src/main/java/net/minecraft/server/Packet51MapChunk.java
index 3c3bdbf..d11c0ea 100644
--- a/src/main/java/net/minecraft/server/Packet51MapChunk.java
+++ b/src/main/java/net/minecraft/server/Packet51MapChunk.java
@@ -18,11 +18,24 @@ public class Packet51MapChunk extends Packet {
public boolean e;
private int size;
private static byte[] buildBuffer = new byte[196864];
+ private static final byte[] unloadSequence = new byte[]{0x78, (byte) 0x9C, 0x63, 0x64, 0x1C, (byte) 0xD9, 0x00, 0x00, (byte) 0x81, (byte) 0x80, 0x01, 0x01}; // Spigot
public Packet51MapChunk() {
this.lowPriority = true;
}
+ // Spigot start - add constructor for chunk removals for the client
+ public Packet51MapChunk(int x, int z) {
+ this.a = x;
+ this.b = z;
+ this.e = true;
+ this.c = 0;
+ this.d = 0;
+ this.size = unloadSequence.length;
+ this.buffer = unloadSequence;
+ }
+ // Spigot end
+
public Packet51MapChunk(Chunk chunk, boolean flag, int i) {
this.lowPriority = true;
this.a = chunk.x;
diff --git a/src/main/java/net/minecraft/server/PlayerChunk.java b/src/main/java/net/minecraft/server/PlayerChunk.java
index 81d66e4..c4a6724 100644
--- a/src/main/java/net/minecraft/server/PlayerChunk.java
+++ b/src/main/java/net/minecraft/server/PlayerChunk.java
@@ -56,9 +56,9 @@ class PlayerChunk {
public void b(EntityPlayer entityplayer) {
if (this.b.contains(entityplayer)) {
- Chunk chunk = PlayerChunkMap.a(this.playerChunkMap).getChunkAt(this.location.x, this.location.z);
+ // Chunk chunk = PlayerChunkMap.a(this.playerChunkMap).getChunkAt(this.location.x, this.location.z);
- entityplayer.playerConnection.sendPacket(new Packet51MapChunk(chunk, true, 0));
+ entityplayer.playerConnection.sendPacket(new Packet51MapChunk(this.location.x, this.location.z)); // Spigot - remove chunk load call just to unload in favour of specialized constructor
this.b.remove(entityplayer);
entityplayer.chunkCoordIntPairQueue.remove(this.location);
if (this.b.isEmpty()) {
--
1.8.1.2

View File

@ -1,4 +1,4 @@
From a1a850630d7e5f670fded63744285f7160e47257 Mon Sep 17 00:00:00 2001
From 99dc46381b11ee5325f14d7e729a11f05c1a6113 Mon Sep 17 00:00:00 2001
From: Mike Primm <mike@primmhome.com>
Date: Wed, 16 Jan 2013 15:27:22 -0600
Subject: [PATCH] Sync Free Chunk Reference Cache

View File

@ -1,4 +1,4 @@
From 9eb7c67eb82703dcffc537f751b364062345f23d Mon Sep 17 00:00:00 2001
From cdf6442419406734ad1c32aed74db7fcdfb45707 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 3 Feb 2013 12:28:17 +1100
Subject: [PATCH] Highly Optimized Tick Loop

View File

@ -1,4 +1,4 @@
From 3f038fef4412774a096de4906029304cd000af27 Mon Sep 17 00:00:00 2001
From 8e9980113578df46425be034722ead177a8e5722 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Thu, 10 Jan 2013 00:18:11 -0500
Subject: [PATCH] Improved Timings System

View File

@ -1,4 +1,4 @@
From 701fc14fd49aa989ecfdfb3986155036d594844b Mon Sep 17 00:00:00 2001
From b49341b577917fd16fd7dbbd424cfba241742f6e Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Thu, 16 May 2013 18:51:05 +1000
Subject: [PATCH] Orebfuscator
@ -29,10 +29,10 @@ index 758d447..1d1c88c 100644
double d0 = (double) ((float) i + this.world.random.nextFloat());
double d1 = (double) ((float) j + this.world.random.nextFloat());
diff --git a/src/main/java/net/minecraft/server/Packet51MapChunk.java b/src/main/java/net/minecraft/server/Packet51MapChunk.java
index d11c0ea..efe102e 100644
index 3c3bdbf..4c24f80 100644
--- a/src/main/java/net/minecraft/server/Packet51MapChunk.java
+++ b/src/main/java/net/minecraft/server/Packet51MapChunk.java
@@ -46,6 +46,7 @@ public class Packet51MapChunk extends Packet {
@@ -33,6 +33,7 @@ public class Packet51MapChunk extends Packet {
this.d = chunkmap.c;
this.c = chunkmap.b;

View File

@ -1,4 +1,4 @@
From 33a9339848ae800087b9b00f0d3bd09eae007ff2 Mon Sep 17 00:00:00 2001
From a49d752defabb9144a40695fc275e1dad271ef11 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 17:29:54 +1000
Subject: [PATCH] Fix Mob Spawning Relative to View Distance

View File

@ -1,4 +1,4 @@
From 98cd9362bbfa70e5639c086cca3887341b81a7a4 Mon Sep 17 00:00:00 2001
From e7535637a11b98cd8eebd8909b19c4000370203f Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 3 Feb 2013 09:20:19 +1100
Subject: [PATCH] Handle Null Tile Entities

View File

@ -1,4 +1,4 @@
From c7558b9d826023a2080737a9231026645a9f6e6a Mon Sep 17 00:00:00 2001
From 1944d6e9f2134cf7b2fd046f92cf287cae4027a3 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sun, 3 Feb 2013 05:10:21 -0500
Subject: [PATCH] Entity Activation Range

View File

@ -1,4 +1,4 @@
From a32d38cde53297cbbb1b3f674ccf493d22778ba5 Mon Sep 17 00:00:00 2001
From 09b61daa4edc61628388ef2ea9951626c72eeff0 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Feb 2013 08:58:35 +1100
Subject: [PATCH] Metrics
@ -657,7 +657,7 @@ index 0000000..f1690a2
+}
\ No newline at end of file
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
index d22e8e5..8f53ca9 100644
index 7880a31..3028526 100644
--- a/src/main/java/org/spigotmc/SpigotConfig.java
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
@@ -36,6 +36,7 @@ public class SpigotConfig

View File

@ -1,4 +1,4 @@
From 4a44e729ad0a7d469c386cfa15d3cdda48f67695 Mon Sep 17 00:00:00 2001
From 4c3d662a619c6b2d4c5a8d44e607e38c46896eff Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Feb 2013 12:33:20 +1100
Subject: [PATCH] Watchdog Thread.

View File

@ -1,4 +1,4 @@
From 7d3f53604070911698fd4ce332c7764d78766873 Mon Sep 17 00:00:00 2001
From e41efeccf1261e150d39a8927143ad629511d45c Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Tue, 2 Jul 2013 09:06:29 +1000
Subject: [PATCH] Netty

View File

@ -1,4 +1,4 @@
From 56e4b96d211d5e45d14982673922397d775ab22d Mon Sep 17 00:00:00 2001
From c008928d367fc3c4717cf6f66eb2c0a86396fb03 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Mon, 4 Mar 2013 18:45:52 +1100
Subject: [PATCH] PlayerItemDamageEvent

View File

@ -1,4 +1,4 @@
From f5c31d0e676d9ca15e19cf5e4468de0e1800a9d0 Mon Sep 17 00:00:00 2001
From a58395902b9acad1f9b28d849027857361b4fbf7 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 17 Mar 2013 19:02:50 +1100
Subject: [PATCH] Faster UUID for entities

View File

@ -1,4 +1,4 @@
From 62299e26a81eebde726d18656f2eebf061d099dd Mon Sep 17 00:00:00 2001
From 115bb33a3a3573220f1d573648d43841c5defae8 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Mon, 18 Mar 2013 20:01:44 +1100
Subject: [PATCH] Prevent NPE in CraftSign

View File

@ -1,4 +1,4 @@
From 448c1c548527355aff640dca36ca4cc9813580c7 Mon Sep 17 00:00:00 2001
From 5f5ee043f008db9a34702ede800a6823afdcfc84 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Wed, 20 Feb 2013 11:58:47 -0500
Subject: [PATCH] Entity Tracking Ranges

View File

@ -1,4 +1,4 @@
From fbdeb351e9e22395803d7563bb347cce2eb722eb Mon Sep 17 00:00:00 2001
From e1c6cc3bbcf26863c1d30d4e73e116dbbcd523c7 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Mar 2013 11:15:11 +1100
Subject: [PATCH] BungeeCord Support

View File

@ -1,4 +1,4 @@
From 56ce9a93bd0f4a45c2168bfc323a62ddfb23b405 Mon Sep 17 00:00:00 2001
From 9173937cd1ad2913e9936bf65ead353d862a356a Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 23 Mar 2013 19:08:41 +1100
Subject: [PATCH] Limit Custom Map Rendering

View File

@ -1,4 +1,4 @@
From 20feb3e62fef472d80e0685dc55b74ea8ad90675 Mon Sep 17 00:00:00 2001
From 95f2f96ba844d9b954a46eeb68bb113f31df6618 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sun, 24 Feb 2013 20:45:20 +1100
Subject: [PATCH] Enable Improved Ping Sending

View File

@ -1,4 +1,4 @@
From 8612d2a39a8fe4631c5c38810989282e65cba8af Mon Sep 17 00:00:00 2001
From a28b8f77048de159f9d0c47dadc57a2138b06f3f Mon Sep 17 00:00:00 2001
From: Benjamin James Harrison-Sims <tehrainbowguy@gmail.com>
Date: Sun, 14 Apr 2013 21:19:57 +0500
Subject: [PATCH] Filter Invalid Names

View File

@ -1,4 +1,4 @@
From d94b6e73ee42e11ee17ac1790d326da128236375 Mon Sep 17 00:00:00 2001
From 2ca1c5f5362ab67c2593d4417bc86c7b5c324b57 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Tue, 23 Apr 2013 11:50:27 +1000
Subject: [PATCH] Thread Naming and Tweaks

View File

@ -1,4 +1,4 @@
From 84f08c5d634c68048f6621cdd42344ce0bc8a9ea Mon Sep 17 00:00:00 2001
From 0fb748388764f2af006cbcf7ccc3ffab31d67f0c Mon Sep 17 00:00:00 2001
From: Antony Riley <antony@cyberiantiger.org>
Date: Wed, 27 Mar 2013 01:41:54 +0200
Subject: [PATCH] Close Unloaded Save Files
@ -18,7 +18,7 @@ index 900ed68..829f4a3 100644
public static synchronized RegionFile a(File file1, int i, int j) {
File file2 = new File(file1, "region");
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
index 68694de..2cca80a 100644
index 6e6fe1c..b49519a 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
@@ -37,6 +37,8 @@ import net.minecraft.server.MinecraftServer;

View File

@ -1,4 +1,4 @@
From adecb1dcbedd1caa33611611c61bab1f6e524ed6 Mon Sep 17 00:00:00 2001
From 72e9b135797dfd1380fcb3f2fb87aca60437fe69 Mon Sep 17 00:00:00 2001
From: Mike Primm <mike@primmhome.com>
Date: Wed, 24 Apr 2013 01:43:33 -0500
Subject: [PATCH] Improve NextTickList Performance

View File

@ -1,4 +1,4 @@
From baf5e49da1b4d18817431a4e39ccc6620a94d7e3 Mon Sep 17 00:00:00 2001
From 5a7b9526e71d572e90ac4f86e81bd208e48fd906 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 19 May 2013 18:29:48 +1000
Subject: [PATCH] Remove -o Option

View File

@ -1,4 +1,4 @@
From 03eaf655a90a9b4a6bbbf1fed236d66e04a35f4b Mon Sep 17 00:00:00 2001
From 895fdc89af141d0ea379dedc274d3509ab45f38a Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 1 Jun 2013 16:34:38 +1000
Subject: [PATCH] Recipe Deconstruction

View File

@ -1,4 +1,4 @@
From 489d10b8d87fcbcf917c6ed610b970c053021e7f Mon Sep 17 00:00:00 2001
From 6871003c6b983808a871055b7d89bb4edd073c37 Mon Sep 17 00:00:00 2001
From: Nick Minkler <sleaker@gmail.com>
Date: Sun, 2 Jun 2013 14:54:11 +1000
Subject: [PATCH] Fix Health Scaling

View File

@ -1,4 +1,4 @@
From aa06528a0feb86107bbccf93382dc00434d6171e Mon Sep 17 00:00:00 2001
From e2247184da1caa4861674ebd73abb97685df2b77 Mon Sep 17 00:00:00 2001
From: Nick Minkler <sleaker@gmail.com>
Date: Sun, 2 Jun 2013 15:04:37 +1000
Subject: [PATCH] Fix EntityShootBowEvent with Skeletons

View File

@ -1,4 +1,4 @@
From 95b3141e6a9c6dbf483a22ae8a0bfb5229ebba15 Mon Sep 17 00:00:00 2001
From 37b756fe7717869043751058b72c97140c97bca4 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 2 Jun 2013 15:16:05 +1000
Subject: [PATCH] Implement Arrow API

View File

@ -1,4 +1,4 @@
From 2eaef37fd28706240bfcff35f4e596997ac12e03 Mon Sep 17 00:00:00 2001
From c4d69ccb56478355e96fd2356644267bc9e0c64e Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 2 Jun 2013 16:14:30 +1000
Subject: [PATCH] Particle API

View File

@ -1,4 +1,4 @@
From 0ca5879afd622fbc6b38b413d616f0f9eca23262 Mon Sep 17 00:00:00 2001
From 105fa41a716e2452de7edec11e77b116670edd6a Mon Sep 17 00:00:00 2001
From: DerFlash <bte@freenet.de>
Date: Sun, 2 Jun 2013 16:23:46 +1000
Subject: [PATCH] Hopper Cooldowns

View File

@ -1,4 +1,4 @@
From a1299646d0fbd254c351de460106801c70904ce8 Mon Sep 17 00:00:00 2001
From 0cad9daa478ea20a8811fda0aa6b1be088b2521b Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Tue, 11 Jun 2013 11:54:32 +1000
Subject: [PATCH] Prevent Shutdown Hang

View File

@ -1,4 +1,4 @@
From f8150459f44708061297099f8c5eb53b3e8b511b Mon Sep 17 00:00:00 2001
From bd3c4cd98d15b1497fff49f3d7ffeda156739e36 Mon Sep 17 00:00:00 2001
From: Andy Shulman <andy.shulman@hotmail.com>
Date: Mon, 15 Apr 2013 20:06:37 -0500
Subject: [PATCH] Implement SpawnerSpawnEvent.

View File

@ -1,4 +1,4 @@
From b95752171e934df29256399fcdef822b44ba3a02 Mon Sep 17 00:00:00 2001
From 1848a09ed6e1261a6e429008e4dc6a72f122ace7 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 15 Jun 2013 21:34:48 +1000
Subject: [PATCH] Firework Meta Crash Fix

View File

@ -1,4 +1,4 @@
From 885ded5d2cb6525352c4ca9f57e436f145d954fe Mon Sep 17 00:00:00 2001
From 73f08d785fc177372cc0bf10bbb3b2c6e5db4230 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sun, 16 Jun 2013 08:20:26 +1000
Subject: [PATCH] Do Not Search for Offline Players

View File

@ -1,4 +1,4 @@
From 5ad52598e1bad0229c825571bdfe9842a43fcec3 Mon Sep 17 00:00:00 2001
From b2c3886fd681e1c68189efb0aa601abe8d3da099 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 17:53:03 +1000
Subject: [PATCH] Enable Foreign Language Signs

View File

@ -1,4 +1,4 @@
From 6320f09c6f5660b8e94e9198f6472e3201caff1b Mon Sep 17 00:00:00 2001
From 63ad2aad127ee09e6f13c568428b21744ed39765 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 17:59:22 +1000
Subject: [PATCH] Spam Filter Exclusions

View File

@ -1,4 +1,4 @@
From 024b39bcb8cdd0f933238f1ea8977cdf2e4525c8 Mon Sep 17 00:00:00 2001
From 39a94d3392478f822c6d6c516e7481690e6d80e1 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 18:01:29 +1000
Subject: [PATCH] Allow Disabling of Command Logging

View File

@ -1,4 +1,4 @@
From 6805d7fa28b46ef2f73b8fc6865fef3b0c585190 Mon Sep 17 00:00:00 2001
From b3f5379551202cd0f7a016473533dd5b342780e7 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 18:05:54 +1000
Subject: [PATCH] Allow Disabling of Command TabComplete

View File

@ -1,4 +1,4 @@
From 44dfe443a48c8054e80c333398df3b04ed273fdf Mon Sep 17 00:00:00 2001
From 33bbaf6237fec8128df72e505d9103611066a736 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 21 Jun 2013 19:21:58 +1000
Subject: [PATCH] Configurable Messages

View File

@ -1,4 +1,4 @@
From fc55fff3d14e51d373340c8837fc359016da88c4 Mon Sep 17 00:00:00 2001
From 8e4023257b2b4de86e1e51c5231850611cc4f60d Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 22 Jun 2013 16:12:02 +1000
Subject: [PATCH] Allow Disabling of Random Lighting Updates

View File

@ -1,4 +1,4 @@
From 589fadd545d27dd30ad90f8c5245fb8f2bbe96d2 Mon Sep 17 00:00:00 2001
From 83e4c23fbe90fd958af7abc36e9a9b5c93f436ab Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Sat, 22 Jun 2013 16:40:11 +1000
Subject: [PATCH] Add Log Filtering

View File

@ -1,4 +1,4 @@
From c7d17ce7d1b4f79a6a83984aa4bc84a816341046 Mon Sep 17 00:00:00 2001
From da1c6b7a9c5d8e3916864b662d9cfabb8aaba4e3 Mon Sep 17 00:00:00 2001
From: Andre LeBlanc <andre@norcode.com>
Date: Sat, 6 Apr 2013 12:00:31 -0400
Subject: [PATCH] Make AnvilInventory.getItem() use both containers. Fixes

View File

@ -1,4 +1,4 @@
From 05798603458ae028f4d6fad97abf0ba28f7b7046 Mon Sep 17 00:00:00 2001
From 1b915e0a88471d38ccf1b9b68113eca791847c32 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Tue, 25 Jun 2013 18:09:26 +1000
Subject: [PATCH] Always Fire PreLoginEvent

View File

@ -1,4 +1,4 @@
From 81a3d7e98800ae5a87ee7cbc292c818747cff50a Mon Sep 17 00:00:00 2001
From 43b70379d2d9eb89c1ff2b0efc7ab3cf1f632f33 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Thu, 27 Jun 2013 17:26:09 +1000
Subject: [PATCH] Properly Close Inventories

View File

@ -1,4 +1,4 @@
From 80ea308e8890b1f7f612f20dd7b1b53a2d52b316 Mon Sep 17 00:00:00 2001
From 7a8f79d0625edaf938fce2372944aeb23018ac9b Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Fri, 28 Jun 2013 19:52:54 +1000
Subject: [PATCH] Disallow Interaction With Self

View File

@ -1,4 +1,4 @@
From 23ce10c42d96b9bf6416f8a65dd208f39fc5d42d Mon Sep 17 00:00:00 2001
From 5e6e2224d8de860af1cd4aa4a540f5d43bbc06f0 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Tue, 2 Jul 2013 09:07:54 +1000
Subject: [PATCH] Lower Chunk Compression
@ -6,10 +6,10 @@ Subject: [PATCH] Lower Chunk Compression
Use a chunk compression level of 4 - this provides an optimal balance between speed and compression.
diff --git a/src/main/java/net/minecraft/server/Packet51MapChunk.java b/src/main/java/net/minecraft/server/Packet51MapChunk.java
index efe102e..c29b81e 100644
index 4c24f80..b7840a4 100644
--- a/src/main/java/net/minecraft/server/Packet51MapChunk.java
+++ b/src/main/java/net/minecraft/server/Packet51MapChunk.java
@@ -42,7 +42,7 @@ public class Packet51MapChunk extends Packet {
@@ -29,7 +29,7 @@ public class Packet51MapChunk extends Packet {
this.b = chunk.z;
this.e = flag;
ChunkMap chunkmap = a(chunk, flag, i);