Skip to content

Commit 9bfb6bc

Browse files
committed
📝 changelog
1 parent 50cba36 commit 9bfb6bc

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

changelog.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,32 @@
4242

4343
# Unreleased
4444

45+
## Bug Fixes
46+
47+
- Fixed `openWithOldInventories` method crash on 1.20 by using `CompatibilityUtil.getTopInventory()` for safe inventory access.
48+
- Fixed trim pattern and material validation: now uses Bukkit `Registry` instead of the hardcoded `TrimHelper`, with proper error messages listing all available patterns/materials when a key is not found.
49+
- Fixed null `ItemFlag` entries causing errors when applying flags to item meta.
50+
- Fixed `EnchantmentGlintOverrideComponent` not handling `false` values correctly — previously only `true` was applied, now both `true` and `false` are respected.
51+
- Fixed click requirements defaulting to an empty click list when none are specified — now defaults to all click types.
52+
- Fixed `AttributeWrapper` to support an optional `NamespacedKey` instead of always generating a random UUID, preventing attribute duplication on item rebuild.
53+
- Fixed database connection logger initialization order in `ZStorageManager`.
54+
- Fixed item loading from map (`loadItemStack`) to use `MenuItemStackLoader` instead of the removed `MenuItemStackFormMap` class.
55+
56+
## Improvements
57+
58+
- **Command Permissions**: Added dedicated permissions for `CommandMenuEditor` (`ZMENU_EDITOR`), `CommandMenuVersion` (`ZMENU_VERSION`), and `CommandMenuGiveOpenItem` (`ZMENU_GIVE_OPEN_ITEM`).
59+
- **API**: Added `getClickRequirementKeys()` method to `MenuPlugin` interface, allowing addons to retrieve the supported click requirement configuration keys.
60+
- **Default Configs**: Updated default configuration files (`pro_inventory.yml`, `playtime_reward.yml`) to use kebab-case (`view-requirement`, `click-requirement`, `open-requirement`) matching current conventions.
61+
- **Dependencies**: Added `adventure-text-minimessage` as a library dependency in `plugin.yml`.
62+
63+
## Internal Changes
64+
65+
- Removed unused `PlayerSkin` class.
66+
- Removed unused `MenuItemStackFormMap` class and associated `fromMap` static method.
67+
- Cleaned up imports and formatting across multiple files.
68+
69+
---
70+
4571
# 1.1.1.1
4672

4773
## New Features

0 commit comments

Comments
 (0)