From 4b6c63365996e6accf54292add617191f8a5d41b Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Fri, 11 Feb 2011 09:27:57 +0000 Subject: [PATCH] Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a --- src/main/java/net/minecraft/server/ChunkProviderServer.java | 4 ++-- src/main/java/net/minecraft/server/LongHashset.java | 1 - 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 aab4bdef0a..53b69ef311 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 c9c7b81f8e..6e65a351da 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 extends LongHash { 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; }