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

feat: add warnings to those not using paper

This commit is contained in:
LoJoSho
2024-12-29 16:30:12 -06:00
parent db71122b3f
commit fc4c38678f

View File

@@ -32,6 +32,10 @@ public final class HibiscusCommonsPlugin extends HibiscusPlugin {
onPaper = true;
getLogger().info("Detected Paper! Enabling Paper support...");
//getServer().getPluginManager().registerEvents(new PaperPlayerGameListener(), this);
} else {
getLogger().warning("Paper was not detected! Some features may not work as expected.");
getLogger().warning("Please consider using Paper for the best experience.");
getLogger().warning("Download Paper at: https://papermc.io/");
}
// Plugin startup logic