From a7874400c7e91d418bc99aa62c6464b962659d6f Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Fri, 30 Aug 2024 17:28:06 -0400 Subject: [PATCH] bump version --- CHANGELOG.md | 9 ++++++--- build.gradle.kts | 2 +- .../crazycrates/api/events/PlayerPrizeEvent.java | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8181ad326..b54f728d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ -### Changes: -- Added a new config option, `hologram-plugin` which lets you pick a hologram plugin to prioritize - - If you leave it empty, it'll automatically pick one. \ No newline at end of file +### Fixed: +- Fixed an issue with some commands not properly validating virtual keys + +### Deprecation +- Deprecated `PlayerPrizeEvent(player, crate, crateName, prize)` + - Please use `PlayerPrizeEvent(player, crate, prize)` as the crateName is already passed through via the `crate` object. \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 707297c22..c257671d1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -10,7 +10,7 @@ plugins { val buildNumber: String? = System.getenv("BUILD_NUMBER") -rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "3.7.3" +rootProject.version = if (buildNumber != null) "${libs.versions.minecraft.get()}-$buildNumber" else "3.7.4" val isSnapshot = false diff --git a/src/main/java/com/badbones69/crazycrates/api/events/PlayerPrizeEvent.java b/src/main/java/com/badbones69/crazycrates/api/events/PlayerPrizeEvent.java index 655e55a17..da929a717 100644 --- a/src/main/java/com/badbones69/crazycrates/api/events/PlayerPrizeEvent.java +++ b/src/main/java/com/badbones69/crazycrates/api/events/PlayerPrizeEvent.java @@ -15,7 +15,7 @@ public class PlayerPrizeEvent extends Event { private final Prize prize; private final String crateName; - @Deprecated(since = "3.8", forRemoval = true) + @Deprecated(since = "3.7.4", forRemoval = true) public PlayerPrizeEvent(@NotNull final Player player, @NotNull final Crate crate, @NotNull final String crateName, @NotNull final Prize prize) { this.player = player; this.crate = crate;