mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-03 09:30:17 +01:00
Removes disablement of plugin for incompatible servers.
https://github.com/BentoBoxWorld/BentoBox/issues/619
This commit is contained in:
parent
70749b0d16
commit
0d6f872420
@ -86,13 +86,10 @@ public class BentoBox extends JavaPlugin {
|
||||
public void onEnable(){
|
||||
if (!ServerCompatibility.getInstance().checkCompatibility(this).isCanLaunch()) {
|
||||
// The server's most likely incompatible.
|
||||
// For safety reasons, we must stop BentoBox from loading.
|
||||
|
||||
getServer().getLogger().severe("Aborting BentoBox enabling.");
|
||||
getServer().getLogger().severe("BentoBox cannot be loaded on this server.");
|
||||
getServer().getLogger().severe("You must use a compatible server software (Spigot) and run on a supported version (1.13.2).");
|
||||
|
||||
getServer().getPluginManager().disablePlugin(this);
|
||||
// Show a warning
|
||||
getServer().getLogger().warning("************ Disclaminer **************");
|
||||
getServer().getLogger().warning("BentoBox may not be compatible with this server!");
|
||||
getServer().getLogger().warning("BentoBox is tested only on the latest version of Spigot.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user