Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
Fixed chunks saving more than they need to. Thanks Rigby!
Dieser Commit ist enthalten in:
Ursprung
86de98da9c
Commit
7499e2e0df
@ -265,14 +265,12 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||||||
this.serverConfigurationManager.savePlayers();
|
this.serverConfigurationManager.savePlayers();
|
||||||
}
|
}
|
||||||
|
|
||||||
// CraftBukkit start
|
// CraftBukkit start - multiworld is handled in saveChunks() already.
|
||||||
for (int i = 0; i < this.worlds.size(); ++i) {
|
WorldServer worldserver = this.worlds.get(0);
|
||||||
WorldServer worldserver = this.worlds.get(i);
|
|
||||||
|
|
||||||
if (worldserver != null) {
|
if (worldserver != null) {
|
||||||
this.saveChunks();
|
this.saveChunks();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren