mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 06:57:30 +01:00
Fixed chunks saving more than they need to. Thanks Rigby!
This commit is contained in:
parent
86de98da9c
commit
7499e2e0df
1 changed files with 4 additions and 6 deletions
|
@ -265,13 +265,11 @@ public class MinecraftServer implements Runnable, ICommandListener {
|
|||
this.serverConfigurationManager.savePlayers();
|
||||
}
|
||||
|
||||
// CraftBukkit start
|
||||
for (int i = 0; i < this.worlds.size(); ++i) {
|
||||
WorldServer worldserver = this.worlds.get(i);
|
||||
// CraftBukkit start - multiworld is handled in saveChunks() already.
|
||||
WorldServer worldserver = this.worlds.get(0);
|
||||
|
||||
if (worldserver != null) {
|
||||
this.saveChunks();
|
||||
}
|
||||
if (worldserver != null) {
|
||||
this.saveChunks();
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue