geforkt von Mirrors/Paper
safety check (and hopeful fix) for chunk saving
By: Tahg <tahgtahv@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
f9b17ea956
Commit
d617037db6
@ -153,7 +153,7 @@ public class CraftWorld implements World {
|
||||
|
||||
net.minecraft.server.Chunk chunk = world.chunkProviderServer.getOrCreateChunk(x, z);
|
||||
|
||||
if (save) {
|
||||
if (save && !chunk.isEmpty()) {
|
||||
chunk.removeEntities();
|
||||
world.chunkProviderServer.saveChunk(chunk);
|
||||
world.chunkProviderServer.saveChunkNOP(chunk);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren