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;