From 02c942f2dab9eed74febdcae9bfaa14545b9156b Mon Sep 17 00:00:00 2001 From: XiaoMoMi <972454774@qq.com> Date: Sun, 11 Aug 2024 20:04:16 +0800 Subject: [PATCH] 2.2.16 --- .../bukkit/integration/item/ItemsAdderItemProvider.java | 2 +- .../customfishing/bukkit/integration/quest/BetonQuestQuest.java | 1 - gradle.properties | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/item/ItemsAdderItemProvider.java b/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/item/ItemsAdderItemProvider.java index 5feac980..e772494f 100644 --- a/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/item/ItemsAdderItemProvider.java +++ b/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/item/ItemsAdderItemProvider.java @@ -38,7 +38,7 @@ public String identifier() { @Override public ItemStack buildItem(@NotNull Player player, @NotNull String id) { CustomStack stack = requireNonNull(CustomStack.getInstance(id)); - return stack.getItemStack(); + return stack.getItemStack().clone(); } @Override diff --git a/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/quest/BetonQuestQuest.java b/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/quest/BetonQuestQuest.java index d7f2c4bd..141c035a 100644 --- a/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/quest/BetonQuestQuest.java +++ b/compatibility/src/main/java/net/momirealms/customfishing/bukkit/integration/quest/BetonQuestQuest.java @@ -17,7 +17,6 @@ package net.momirealms.customfishing.bukkit.integration.quest; -import net.momirealms.customfishing.api.BukkitCustomFishingPlugin; import net.momirealms.customfishing.api.event.FishingResultEvent; import org.betonquest.betonquest.BetonQuest; import org.betonquest.betonquest.Instruction; diff --git a/gradle.properties b/gradle.properties index dcc4c3f4..20207eb7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ h2_driver_version=2.2.224 sqlite_driver_version=3.46.0.1 adventure_bundle_version=4.17.0 adventure_platform_version=4.3.3 -sparrow_heart_version=0.34 +sparrow_heart_version=0.35 cloud_core_version=2.0.0-rc.2 cloud_services_version=2.0.0-rc.2 cloud_brigadier_version=2.0.0-beta.9