*Bump Minecraft version in build.gradle to 1.18.
*Update Spigot compatibility check for 1.18.
This commit is contained in:
parent
606381387d
commit
2792696de3
@ -33,7 +33,7 @@ dependencies {
|
||||
|
||||
tasks {
|
||||
specialGradle {
|
||||
minecraftVersion.set("1.17.1")
|
||||
minecraftVersion.set("1.18")
|
||||
specialSourceVersion.set("1.10.0")
|
||||
}
|
||||
}
|
@ -78,7 +78,7 @@ public class Herobrine extends JavaPlugin implements Listener {
|
||||
// If it is not, print an error message and disable the plugin.
|
||||
if (continueWithEnable) {
|
||||
try {
|
||||
Class.forName("org.bukkit.craftbukkit.v1_17_R1.CraftArt");
|
||||
Class.forName("org.bukkit.craftbukkit.v1_18_R1.CraftArt");
|
||||
} catch (ClassNotFoundException e) {
|
||||
Bukkit.getServer().getConsoleSender().sendMessage(ChatColor.RED + "This version of Herobrine is not "
|
||||
+ "compatible with this server's Spigot version and will be disabled.");
|
||||
|
Loading…
Reference in New Issue
Block a user