From d362a50a59c750adf6262adf5fd984cef5ac69a9 Mon Sep 17 00:00:00 2001 From: Essential CI Date: Thu, 9 May 2024 16:32:00 +0000 Subject: [PATCH] Version 1.3.2.3 --- changelog/release-1.3.2.3.md | 8 ++++++++ gradle.properties | 2 +- gradle/libs.versions.toml | 2 +- .../wardrobe/components/cosmeticOrEmoteItemFunctions.kt | 3 +++ 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 changelog/release-1.3.2.3.md diff --git a/changelog/release-1.3.2.3.md b/changelog/release-1.3.2.3.md new file mode 100644 index 0000000..a026e2b --- /dev/null +++ b/changelog/release-1.3.2.3.md @@ -0,0 +1,8 @@ +Title: Bug Patch +Summary: Minor bug fixes + +## Wardrobe +- Added an "unlocked" notification when claiming a free item + +## Bug Fixes +- Fixed sending an emoji in the Social Menu causing the menu to not render properly \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 1d64584..1d65af0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,4 +7,4 @@ org.gradle.configureondemand=true org.gradle.parallel.threads=128 org.gradle.jvmargs=-Xmx16G minecraftVersion=11202 -version=1.3.2.2+gc6bc4f09d7 +version=1.3.2.3+g6a2d13e09b diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index adb9ab1..7f64a63 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] universalcraft = "337" -elementa = "638" +elementa = "647" vigilance = "297" mixinextras = "0.3.5" diff --git a/src/main/kotlin/gg/essential/gui/wardrobe/components/cosmeticOrEmoteItemFunctions.kt b/src/main/kotlin/gg/essential/gui/wardrobe/components/cosmeticOrEmoteItemFunctions.kt index 33477f8..425e980 100644 --- a/src/main/kotlin/gg/essential/gui/wardrobe/components/cosmeticOrEmoteItemFunctions.kt +++ b/src/main/kotlin/gg/essential/gui/wardrobe/components/cosmeticOrEmoteItemFunctions.kt @@ -19,6 +19,7 @@ import gg.essential.elementa.components.Window import gg.essential.elementa.events.UIClickEvent import gg.essential.gui.EssentialPalette import gg.essential.gui.common.ContextOptionMenu +import gg.essential.gui.common.sendUnlockedToast import gg.essential.gui.elementa.state.v2.State import gg.essential.gui.elementa.state.v2.combinators.map import gg.essential.gui.elementa.state.v2.set @@ -370,6 +371,8 @@ fun claimFreeItemNow(item: Item.CosmeticOrEmote, wardrobeState: WardrobeState) { if (slot == CosmeticSlot.EMOTE) { cosmeticsManager.savedEmotes = wardrobeState.emoteWheel.get() } + sendUnlockedToast(cosmetic.id, wardrobeState.selectedPreviewingEquippedSettings.map { it[item.id] ?: listOf() }) + EssentialSoundManager.playPurchaseConfirmationSound() } }, Minecraft.getMinecraft().executor) }