Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Removed debug and fixed //craftbukkit comments from 0239b76f611597f8486a
Dieser Commit ist enthalten in:
Ursprung
c0b940d619
Commit
4b6c633659
@ -196,12 +196,11 @@ public class ChunkProviderServer implements IChunkProvider {
|
||||
|
||||
public boolean a() {
|
||||
if (!this.g.C) {
|
||||
while (!this.a.isEmpty()) {
|
||||
// CraftBukkit start
|
||||
while (!this.a.isEmpty()) {
|
||||
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();
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren