diff --git a/pom.xml b/pom.xml index 7ebe5aa..5f58b8b 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ graves Graves Full featured lightweight death chest plugin. - 4.9 + 4.9.1 @@ -29,7 +29,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.11.0 ${java.version} ${java.version} @@ -38,7 +38,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.3.1-SNAPSHOT + 3.5.0 @@ -75,7 +75,7 @@ org.apache.maven.plugins maven-resources-plugin - 2.5 + 3.3.1 ${project.build.sourceEncoding} @@ -163,19 +163,19 @@ org.spigotmc spigot-api - 1.19-R0.1-SNAPSHOT + 1.20-R0.1-SNAPSHOT provided org.bstats bstats-bukkit - 3.0.0 + 3.0.2 compile com.github.puregero multilib - 1.1.5 + 1.1.12 compile @@ -223,13 +223,13 @@ com.sk89q.worldedit worldedit-bukkit - 7.2.0-SNAPSHOT + 7.2.15 provided com.sk89q.worldguard worldguard-bukkit - 7.0.7-SNAPSHOT + 7.0.9 provided @@ -271,7 +271,7 @@ com.github.Ste3et FurnitureLib - 22fb4086de + 3.1.1 provided @@ -295,13 +295,13 @@ net.kyori adventure-text-minimessage - 4.11.0 + 4.14.0 provided net.kyori adventure-platform-bukkit - 4.1.1 + 4.3.0 provided @@ -313,7 +313,7 @@ org.jetbrains annotations - 23.0.0 + 24.0.1 provided diff --git a/src/main/java/com/ranull/graves/integration/FurnitureLib.java b/src/main/java/com/ranull/graves/integration/FurnitureLib.java index 66d60f4..ab4eeee 100644 --- a/src/main/java/com/ranull/graves/integration/FurnitureLib.java +++ b/src/main/java/com/ranull/graves/integration/FurnitureLib.java @@ -11,7 +11,7 @@ import de.Ste3et_C0st.FurnitureLib.Utilitis.LocationUtil; import de.Ste3et_C0st.FurnitureLib.main.FurniturePlugin; import de.Ste3et_C0st.FurnitureLib.main.ObjectID; -import de.Ste3et_C0st.FurnitureLib.main.entity.fEntity; +import de.Ste3et_C0st.FurnitureLib.main.entity.fContainerEntity; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; @@ -89,7 +89,7 @@ public void createFurniture(Location location, Grave grave) { if (plugin.getConfig("furniturelib.head.replace", grave) .getBoolean("furniturelib.head.replace")) { - objectID.getPacketList().forEach((fEntity) -> setSkull(fEntity, grave)); + objectID.getPacketList().forEach((fEntity) -> setSkull((fContainerEntity) fEntity, grave)); } furnitureLib.getFurnitureManager().addObjectID(objectID); @@ -142,7 +142,7 @@ private void setSign(Block block, List stringList, Grave grave) { } } - private void setSkull(fEntity fEntity, Grave grave) { + private void setSkull(fContainerEntity fEntity, Grave grave) { List materialList = plugin.getConfig("furniturelib.head.material", grave) .getStringList("furniturelib.head.material"); ItemStack itemStack = plugin.getCompatibility().getSkullItemStack(grave, plugin);