mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-02-20 02:22:35 +01:00
Error for 1.18 and 1.18.1
This commit is contained in:
parent
cc86e130ea
commit
4acb185abe
@ -138,6 +138,11 @@ public class LibsDisguises extends JavaPlugin {
|
||||
getLogger().severe("Please update from MC 1.17! You should be using 1.17.1!");
|
||||
}
|
||||
|
||||
if (Bukkit.getVersion().contains("(MC: 1.18)") || Bukkit.getVersion().contains("(MC: 1.18.1)")) {
|
||||
getLogger().severe(
|
||||
"Please update from MC 1.18 and MC 1.18.1! You should be using 1.18.2! Support will eventually be dropped for your specific version!");
|
||||
}
|
||||
|
||||
try {
|
||||
Class cl = Class.forName("org.bukkit.Server$Spigot");
|
||||
} catch (ClassNotFoundException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user