mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-29 21:53:42 +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
|
@Override
|
||||||
public void onPluginEnable() {
|
public void onPluginEnable() {
|
||||||
if(ServerVersion.isServerVersionAbove(ServerVersion.V1_16)) {
|
if(ServerVersion.isServerVersionAbove(ServerVersion.V1_16)) {
|
||||||
this.getLogger().warning("This Minecraft version is not supported. Disabling...");
|
this.getLogger().warning("This Minecraft version is not officially supported.");
|
||||||
getServer().getPluginManager().disablePlugin(this);
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(paper = ServerProject.isServer(ServerProject.PAPER)){
|
if(paper = ServerProject.isServer(ServerProject.PAPER)){
|
||||||
|
Loading…
Reference in New Issue
Block a user