13
0
geforkt von Mirrors/Paper

Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a

Dieser Commit ist enthalten in:
Dinnerbone 2011-02-11 09:27:57 +00:00
Ursprung c0b940d619
Commit 4b6c633659
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -196,12 +196,11 @@ public class ChunkProviderServer implements IChunkProvider {
public boolean a() { public boolean a() {
if (!this.g.C) { if (!this.g.C) {
// CraftBukkit start
while (!this.a.isEmpty()) { while (!this.a.isEmpty()) {
// CraftBukkit start
long chunkcoordinates = this.a.popFirst(); long chunkcoordinates = this.a.popFirst();
Chunk chunk = e.get(chunkcoordinates); Chunk chunk = e.get(chunkcoordinates);
if (chunk == null) continue; if (chunk == null) continue;
// CraftBukkit end
chunk.e(); chunk.e();
this.b(chunk); this.b(chunk);
this.a(chunk); this.a(chunk);
@ -209,6 +208,7 @@ public class ChunkProviderServer implements IChunkProvider {
this.e.remove(chunkcoordinates); this.e.remove(chunkcoordinates);
this.f.remove(chunk); this.f.remove(chunk);
} }
// CraftBukkit end
if (this.d != null) { if (this.d != null) {
this.d.a(); this.d.a();

Datei anzeigen

@ -82,7 +82,6 @@ public class LongHashset<V> extends LongHash<V> {
count--; count--;
long ret = inner[inner.length - 1]; long ret = inner[inner.length - 1];
outer[i] = Arrays.copyOf(inner, inner.length - 1); outer[i] = Arrays.copyOf(inner, inner.length - 1);
System.err.println("Removing chunk (" + msw(ret) + ", " + lsw(ret) + ")");
return ret; return ret;
} }