Nag about 1.17 not 1.17.1

This commit is contained in:
libraryaddict 2021-08-11 12:40:06 +12:00
parent 69f3494633
commit 0acf4f32f9
1 changed files with 4 additions and 0 deletions

View File

@ -123,6 +123,10 @@ public class LibsDisguises extends JavaPlugin {
getLogger().severe("Server was reloaded! Please do not report any bugs! This plugin can't handle " + "reloads gracefully!");
}
if (Bukkit.getVersion().contains("(MC: 1.17)")) {
getLogger().severe("Please update from MC 1.17! You should be using 1.17.1!");
}
try {
Class cl = Class.forName("org.bukkit.Server$Spigot");
} catch (ClassNotFoundException e) {