Identify Moonrise worker threads correctly

This commit is contained in:
HaHaWTH
2025-06-07 00:17:51 +14:00
parent d90a4200fe
commit bf6612edd0
3 changed files with 26 additions and 2 deletions
@@ -57,7 +57,7 @@ public class PlatformImpl extends AbstractPlatform {
private int generationThreads;
public PlatformImpl(TerraBukkitPlugin plugin) {
generationThreads = getGenerationThreadsWithReflection("ca.spottedleaf.moonrise.common.util.MoonriseCommon", "WORKER_THREADS", "Moonrise");
generationThreads = getMoonriseGenerationThreadsWithReflection();
if (generationThreads == 0) {
generationThreads = 1;
}