limit chunk unloading to 50 per tick
Dieser Commit ist enthalten in:
Ursprung
9832ce06f1
Commit
87dc04b750
@ -207,7 +207,7 @@ public class ChunkProviderServer implements IChunkProvider {
|
||||
if (!this.g.w) {
|
||||
// CraftBukkit start
|
||||
Server server = g.getServer();
|
||||
while (!this.a.isEmpty()) {
|
||||
for (int i = 0; i < 50 && !this.a.isEmpty(); i++) {
|
||||
long chunkcoordinates = this.a.popFirst();
|
||||
Chunk chunk = e.get(chunkcoordinates);
|
||||
if (chunk == null) continue;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren