Fixed BentoBox still disabling if running on incompatible server

This fixes commit 0d6f872420.
This commit is contained in:
Florian CUNY 2019-04-17 22:58:17 +02:00 committed by GitHub
parent a18ed9b999
commit a26341e36f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,10 +88,10 @@ public class BentoBox extends JavaPlugin {
if (!ServerCompatibility.getInstance().checkCompatibility(this).isCanLaunch()) {
// The server's most likely incompatible.
// Show a warning
getServer().getLogger().warning("************ Disclaimer **************");
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;
logWarning("************ Disclaimer **************");
logWarning("BentoBox may not be compatible with this server!");
logWarning("BentoBox is tested only on the latest version of Spigot.");
logWarning("**************************************");
}
// Not loaded