mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Update to mcdev rename revision 01 for 1.8.1
This commit is contained in:
@@ -219,7 +219,7 @@ public class ChunkProviderServer implements IChunkProvider {
|
||||
}
|
||||
|
||||
public boolean unloadChunks() {
|
||||
if (!this.world.canSave) {
|
||||
if (!this.world.savingDisabled) {
|
||||
// CraftBukkit start
|
||||
org.bukkit.Server server = this.world.getServer();
|
||||
for (int i = 0; i < 50 && !this.unloadQueue.isEmpty(); i++) {
|
||||
@@ -251,6 +251,6 @@ public class ChunkProviderServer implements IChunkProvider {
|
||||
}
|
||||
|
||||
public boolean canSave() {
|
||||
return !this.world.canSave;
|
||||
return !this.world.savingDisabled;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user