Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 19:02:36 +01:00
fix: create single threaded executor for use with non-concurrent generators (#2236)
- Fixes #2228
Dieser Commit ist enthalten in:
Ursprung
3cac28ea84
Commit
2c7b529f67
@ -165,7 +165,11 @@ public abstract class Regenerator<IChunkAccess, ProtoChunk extends IChunkAccess,
|
|||||||
.setNameFormat("fawe-regen-%d")
|
.setNameFormat("fawe-regen-%d")
|
||||||
.build()
|
.build()
|
||||||
);
|
);
|
||||||
} // else using sequential chunk generation, concurrent not supported
|
} else { // else using sequential chunk generation, concurrent not supported
|
||||||
|
executor = Executors.newSingleThreadExecutor(new ThreadFactoryBuilder()
|
||||||
|
.setNameFormat("fawe-regen-%d")
|
||||||
|
.build());
|
||||||
|
}
|
||||||
|
|
||||||
//TODO: can we get that required radius down without affecting chunk generation (e.g. strucures, features, ...)?
|
//TODO: can we get that required radius down without affecting chunk generation (e.g. strucures, features, ...)?
|
||||||
//for now it is working well and fast, if we are bored in the future we could do the research (a lot of it) to reduce the border radius
|
//for now it is working well and fast, if we are bored in the future we could do the research (a lot of it) to reduce the border radius
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren