The current Folia platform check works by checking for a class that was added to Paper for fallback support. This commit changes the class check to a class that only exists on the Folia platform. This prevents potentially different behavior between Spigot and Paper platforms.
The current Folia platform check works by checking for a class that was added to Paper for fallback support. This commit changes the class check to a class that only exists on the Folia platform. This prevents potentially different behavior between Spigot and Paper platforms.