9
0
mirror of https://github.com/HibiscusMC/HibiscusCommons.git synced 2025-12-19 15:09:26 +00:00

fix: paper and folia check not actually checking classes

This commit is contained in:
LoJoSho
2025-03-25 13:40:50 -05:00
parent c9ed39b525
commit 7d25b8c470

View File

@@ -24,8 +24,8 @@ public final class HibiscusCommonsPlugin extends HibiscusPlugin {
instance = this; instance = this;
// Do startup checks // Do startup checks
onPaper = isOnPaper(); onPaper = checkPaper();
onFolia = isOnFolia(); onFolia = checkFolia();
if (onPaper) { if (onPaper) {
getLogger().info("Detected Paper! Enabling Paper support..."); getLogger().info("Detected Paper! Enabling Paper support...");
//getServer().getPluginManager().registerEvents(new PaperPlayerGameListener(), this); //getServer().getPluginManager().registerEvents(new PaperPlayerGameListener(), this);