From 9988c922d0a660d34566647580d3af843d967baa Mon Sep 17 00:00:00 2001 From: Collin Barber Date: Sat, 12 Oct 2024 16:47:45 -0400 Subject: [PATCH] add MythicMobs 5.7.2 support --- .../me/deecaad/weaponmechanics/lib/MythicMobsWeaponDrop.java | 4 ++-- buildSrc/src/main/kotlin/Dependencies.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/lib/MythicMobsWeaponDrop.java b/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/lib/MythicMobsWeaponDrop.java index 661c806f..eedcab22 100644 --- a/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/lib/MythicMobsWeaponDrop.java +++ b/WeaponMechanics/src/main/java/me/deecaad/weaponmechanics/lib/MythicMobsWeaponDrop.java @@ -4,7 +4,7 @@ import io.lumine.mythic.api.config.MythicLineConfig; import io.lumine.mythic.api.drops.DropMetadata; import io.lumine.mythic.api.drops.IItemDrop; -import io.lumine.mythic.bukkit.adapters.BukkitItemStack; +import io.lumine.mythic.bukkit.adapters.item.ItemComponentBukkitItemStack; import me.deecaad.core.file.SerializerException; import me.deecaad.weaponmechanics.WeaponMechanics; import me.deecaad.weaponmechanics.weapon.info.InfoHandler; @@ -43,6 +43,6 @@ public AbstractItemStack getDrop(DropMetadata dropMetadata, double v) { return null; } - return new BukkitItemStack(item); + return new ItemComponentBukkitItemStack(item); } } diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 3dc91d87..188fe3b3 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -5,7 +5,7 @@ object Versions { const val BSTATS = "3.0.1" const val PROTOCOL_LIB = "5.1.0" const val PLACEHOLDER_API = "2.11.6" - const val MYTHIC_MOBS = "5.6.1" + const val MYTHIC_MOBS = "5.7.2" const val GEYSER = "2.2.0-SNAPSHOT" const val VIVECRAFT = "3.0.0"