summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-02-11 09:27:57 +0000
committerDinnerbone <dinnerbone@dinnerbone.com>2011-02-11 09:27:57 +0000
commit4b6c63365996e6accf54292add617191f8a5d41b (patch)
tree494e76354df096b6c36bdf24f168890736a436e3 /src/main/java/net
parentc0b940d619b95fd14c9e746337afff314341a422 (diff)
downloadcraftbukkit-4b6c63365996e6accf54292add617191f8a5d41b.tar
craftbukkit-4b6c63365996e6accf54292add617191f8a5d41b.tar.gz
craftbukkit-4b6c63365996e6accf54292add617191f8a5d41b.tar.lz
craftbukkit-4b6c63365996e6accf54292add617191f8a5d41b.tar.xz
craftbukkit-4b6c63365996e6accf54292add617191f8a5d41b.zip
Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/ChunkProviderServer.java4
-rw-r--r--src/main/java/net/minecraft/server/LongHashset.java1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/ChunkProviderServer.java b/src/main/java/net/minecraft/server/ChunkProviderServer.java
index aab4bdef..53b69ef3 100644
--- a/src/main/java/net/minecraft/server/ChunkProviderServer.java
+++ b/src/main/java/net/minecraft/server/ChunkProviderServer.java
@@ -196,12 +196,11 @@ public class ChunkProviderServer implements IChunkProvider {
public boolean a() {
if (!this.g.C) {
+ // CraftBukkit start
while (!this.a.isEmpty()) {
- // CraftBukkit start
long chunkcoordinates = this.a.popFirst();
Chunk chunk = e.get(chunkcoordinates);
if (chunk == null) continue;
- // CraftBukkit end
chunk.e();
this.b(chunk);
this.a(chunk);
@@ -209,6 +208,7 @@ public class ChunkProviderServer implements IChunkProvider {
this.e.remove(chunkcoordinates);
this.f.remove(chunk);
}
+ // CraftBukkit end
if (this.d != null) {
this.d.a();
diff --git a/src/main/java/net/minecraft/server/LongHashset.java b/src/main/java/net/minecraft/server/LongHashset.java
index c9c7b81f..6e65a351 100644
--- a/src/main/java/net/minecraft/server/LongHashset.java
+++ b/src/main/java/net/minecraft/server/LongHashset.java
@@ -82,7 +82,6 @@ public class LongHashset<V> extends LongHash<V> {
count--;
long ret = inner[inner.length - 1];
outer[i] = Arrays.copyOf(inner, inner.length - 1);
- System.err.println("Removing chunk (" + msw(ret) + ", " + lsw(ret) + ")");
return ret;
}