mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-26 12:16:30 +01:00
Do not disable plugin on unsupported versions
This commit is contained in:
parent
9b6e8d9baa
commit
ca7af0d290
@ -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)){
|
||||
|
Loading…
Reference in New Issue
Block a user