mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-07 11:10:04 +01:00
Show warning when running on pre 1.8
This commit is contained in:
parent
c1978f26a8
commit
0cdbe1032f
@ -114,7 +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) || ServerVersion.isServerVersionBelow(ServerVersion.V1_8)) {
|
||||||
this.getLogger().warning("This Minecraft version is not officially supported.");
|
this.getLogger().warning("This Minecraft version is not officially supported.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user