*Bump Minecraft version in build.gradle to 1.18.

*Update Spigot compatibility check for 1.18.
This commit is contained in:
David Berdik 2021-12-04 17:49:37 -05:00
parent 606381387d
commit 2792696de3
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ dependencies {
tasks {
specialGradle {
minecraftVersion.set("1.17.1")
minecraftVersion.set("1.18")
specialSourceVersion.set("1.10.0")
}
}

View File

@ -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.");