From 2d46c776318d90d2c4538def392af6a245a3c448 Mon Sep 17 00:00:00 2001 From: Rutger Kok Date: Tue, 3 Dec 2024 19:13:22 +0100 Subject: [PATCH] Update to Spigot 1.21.4 --- pom.xml | 14 +++++++------- .../betterenderchest/nms/SimpleNMSHandler.java | 8 ++++---- src/main/resources/plugin.yml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 7e0ba01..e92e47d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 nl.rutgerkok.betterenderchest BetterEnderChest - 2.6.12 + 2.6.13 BetterEnderChest Spigot plugin that adds functionality for both players and admins to the Ender Chest. https://github.com/rutgerkok/BetterEnderChest @@ -42,13 +42,13 @@ org.spigotmc spigot-api - 1.21.3-R0.1-SNAPSHOT + 1.21.4-R0.1-SNAPSHOT provided org.spigotmc spigot - 1.21.3-R0.1-SNAPSHOT + 1.21.4-R0.1-SNAPSHOT provided remapped-mojang @@ -133,9 +133,9 @@ remap-obf - org.spigotmc:minecraft-server:1.21.3-R0.1-SNAPSHOT:txt:maps-mojang + org.spigotmc:minecraft-server:1.21.4-R0.1-SNAPSHOT:txt:maps-mojang true - org.spigotmc:spigot:1.21.3-R0.1-SNAPSHOT:jar:remapped-mojang + org.spigotmc:spigot:1.21.4-R0.1-SNAPSHOT:jar:remapped-mojang true remapped-obf @@ -148,8 +148,8 @@ remap-spigot ${project.build.directory}/${project.artifactId}-${project.version}-remapped-obf.jar - org.spigotmc:minecraft-server:1.21.3-R0.1-SNAPSHOT:csrg:maps-spigot - org.spigotmc:spigot:1.21.3-R0.1-SNAPSHOT:jar:remapped-obf + org.spigotmc:minecraft-server:1.21.4-R0.1-SNAPSHOT:csrg:maps-spigot + org.spigotmc:spigot:1.21.4-R0.1-SNAPSHOT:jar:remapped-obf diff --git a/src/main/java/nl/rutgerkok/betterenderchest/nms/SimpleNMSHandler.java b/src/main/java/nl/rutgerkok/betterenderchest/nms/SimpleNMSHandler.java index 12761f6..14ad210 100644 --- a/src/main/java/nl/rutgerkok/betterenderchest/nms/SimpleNMSHandler.java +++ b/src/main/java/nl/rutgerkok/betterenderchest/nms/SimpleNMSHandler.java @@ -12,11 +12,11 @@ import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; -import org.bukkit.craftbukkit.v1_21_R2.CraftRegistry; -import org.bukkit.craftbukkit.v1_21_R2.CraftWorld; -import org.bukkit.craftbukkit.v1_21_R2.entity.CraftPlayer; +import org.bukkit.craftbukkit.v1_21_R3.CraftRegistry; +import org.bukkit.craftbukkit.v1_21_R3.CraftWorld; +import org.bukkit.craftbukkit.v1_21_R3.entity.CraftPlayer; import org.bukkit.entity.Player; -import org.bukkit.craftbukkit.v1_21_R2.inventory.CraftItemStack; +import org.bukkit.craftbukkit.v1_21_R3.inventory.CraftItemStack; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.ItemStack; import org.json.simple.parser.JSONParser; diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index c06b5aa..2a772a7 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -3,7 +3,7 @@ main: nl.rutgerkok.betterenderchest.BetterEnderChestPlugin description: 'Secure and configurable Ender Chests' version: '${project.version}' author: 'Rutger Kok' -api-version: '1.20.5' +api-version: '1.21.4' softdepend: - 'BlockLocker' - 'Lockette'