Show warning when running on pre 1.8

This commit is contained in:
Fabrizio La Rosa 2020-08-02 13:08:39 +02:00
parent c1978f26a8
commit 0cdbe1032f

View File

@ -114,7 +114,7 @@ public class SkyBlock extends SongodaPlugin {
@Override
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.");
}