Add scheduler report only if it is not Folia;
(cherry picked from commit a9d6cf0ac2
)
This commit is contained in:
parent
4ad4abb806
commit
9157100bdb
|
@ -29,6 +29,7 @@ import com.sk89q.worldedit.world.gamemode.GameMode;
|
|||
import com.sk89q.worldedit.world.gamemode.GameModes;
|
||||
import com.sk89q.worldguard.LocalPlayer;
|
||||
import com.sk89q.worldguard.WorldGuard;
|
||||
import com.sk89q.worldguard.bukkit.scheduler.FoliaSchedulerAdapter;
|
||||
import com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion;
|
||||
import com.sk89q.worldguard.protection.regions.ProtectedRegion;
|
||||
import com.sk89q.worldguard.util.profile.resolver.PaperPlayerService;
|
||||
|
@ -235,7 +236,7 @@ public class BukkitWorldGuardPlatform implements WorldGuardPlatform {
|
|||
public void addPlatformReports(ReportList report) {
|
||||
report.add(new ServerReport());
|
||||
report.add(new PluginReport());
|
||||
report.add(new SchedulerReport());
|
||||
if (!FoliaSchedulerAdapter.isSupported()) report.add(new SchedulerReport());
|
||||
report.add(new ServicesReport());
|
||||
report.add(new WorldReport());
|
||||
report.add(new PerformanceReport());
|
||||
|
|
Loading…
Reference in New Issue