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:
@@ -32,6 +32,10 @@ public final class HibiscusCommonsPlugin extends HibiscusPlugin {
|
|||||||
onPaper = true;
|
onPaper = true;
|
||||||
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);
|
||||||
|
} 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
|
// Plugin startup logic
|
||||||
|
|||||||
Reference in New Issue
Block a user