iSach / UltraCosmetics

Lightweight, Fun and Easy-to-Use Spigot Cosmetics plugin. (Gadgets, etc)
https://www.spigotmc.org/resources/ultra-cosmetics-halloween-update.10905/
GNU Affero General Public License v3.0
166 stars 153 forks source link

clicking 'cancel' in buykey menu closes menu #602

Closed dennishzg closed 2 years ago

dennishzg commented 2 years ago

Check if the issue is fixed in dev builds

What steps will reproduce the issue?

  1. Execute /uc menu click on 'Treasure Keys' OR execute /uc menu buykey
  2. Click on 'CANCEL'

What was supposed to happen?

Go back to the main menu, same behavior as clicking on 'PURCHASE' (successful purchase). Open UltraCosmetics main menu OR (if enabled) execute the command specified at Back-To-Main-Menu-Custom-Command in config.yml (related issue: https://github.com/iSach/UltraCosmetics/issues/601)

What happened instead?

The buykey menu is closed.

What version of UltraCosmetics are you using? Do not say 'latest'.

UltraCosmetics-2.7-RELEASE

What server distribution (Spigot, Paper, etc.) and what version are you using? Do not say 'latest'.

This server is running Paper version git-Paper-357 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: f210f67)

What plugins do you have installed?

Plugins (35): AdvancedRegionMarket, Autorank, Chatty, Chunky, ChunkyBorder, CMILib, CoreProtect, DeadChest, DeluxeMenus, DropHeads, dynmap, Essentials, EssentialsAntiBuild, EssentialsChat, EssentialsDiscord, EssentialsProtect, EssentialsSpawn, FarmControl, Images, Jobs, LibsDisguises, LuckPerms, Maintenance, MiniMOTD, Multiverse-Core, OpenInv, PlaceholderAPI, ProtocolLib, ResourceWorld, SuperVanish, TabList, UltraCosmetics, Vault, WorldEdit, WorldGuard

Are there any errors in the console or in logs?

No

Additional information that could be helpful in fixing the problem

No response

datatags commented 2 years ago

Changing this to a feature request because this was previously intended behavior, but it seems like a reasonable change. This change will also be applied for the ammo purchase menu.