File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
eternalcore-core/src/main/java/com/eternalcode/core/scheduler Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,11 @@ class SchedulerSetup {
13
13
@ Bean
14
14
MinecraftScheduler scheduler (Plugin plugin ) {
15
15
try {
16
- Class .forName ("io.papermc.paper.threadedregions.scheduler.GlobalRegionScheduler" );
17
- Class .forName ("io.papermc.paper.threadedregions.scheduler.RegionScheduler" );
18
- Class .forName ("io.papermc.paper.threadedregions.scheduler.AsyncScheduler" );
16
+ Class .forName ("io.papermc.paper.threadedregions.RegionizedServer" );
19
17
return new FoliaSchedulerImpl (plugin );
20
- } catch (ClassNotFoundException notFoundException ) {
18
+ }
19
+ catch (ClassNotFoundException notFoundException ) {
21
20
return new BukkitSchedulerImpl (plugin );
22
21
}
23
22
}
24
-
25
23
}
You can’t perform that action at this time.
0 commit comments