geforkt von Mirrors/Paper
Mark chunks as saved after saving them
Prevents re-saving them again later.
Dieser Commit ist enthalten in:
Ursprung
646d59a575
Commit
0aa7d1a07f
@ -10845,6 +10845,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ task.queue();
|
+ task.queue();
|
||||||
+
|
+
|
||||||
|
+ chunk.setUnsaved(false);
|
||||||
|
+
|
||||||
+ return true;
|
+ return true;
|
||||||
+ } catch (final ThreadDeath death) {
|
+ } catch (final ThreadDeath death) {
|
||||||
+ throw death;
|
+ throw death;
|
||||||
@ -10863,6 +10865,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ } else {
|
+ } else {
|
||||||
+ RegionFileIOThread.scheduleSave(this.world, this.chunkX, this.chunkZ, save, RegionFileIOThread.RegionFileType.CHUNK_DATA);
|
+ RegionFileIOThread.scheduleSave(this.world, this.chunkX, this.chunkZ, save, RegionFileIOThread.RegionFileType.CHUNK_DATA);
|
||||||
+ }
|
+ }
|
||||||
|
+ chunk.setUnsaved(false);
|
||||||
+ } catch (final ThreadDeath death) {
|
+ } catch (final ThreadDeath death) {
|
||||||
+ throw death;
|
+ throw death;
|
||||||
+ } catch (final Throwable thr) {
|
+ } catch (final Throwable thr) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren