Do not disable plugin on unsupported versions

This commit is contained in:
Fabrizio La Rosa 2020-07-14 10:43:26 +02:00
parent 9b6e8d9baa
commit ca7af0d290

View File

@ -114,9 +114,7 @@ public class SkyBlock extends SongodaPlugin {
@Override
public void onPluginEnable() {
if(ServerVersion.isServerVersionAbove(ServerVersion.V1_16)) {
this.getLogger().warning("This Minecraft version is not supported. Disabling...");
getServer().getPluginManager().disablePlugin(this);
return;
this.getLogger().warning("This Minecraft version is not officially supported.");
}
if(paper = ServerProject.isServer(ServerProject.PAPER)){