Cirrus
Cirrus copied to clipboard
Clicking any item inside gui with off-hand causes duplication!
(Tested with this environment) Paper-341 (1.18.2) Java 17.0.3.1
- cirrus-spigot-example-2.0.0
- EssentialxxX-2.19.4
- FAWE-Bukkit-2.3.1
- Skript 2.6.3
- Vault
Actions to replicate:
- Use the /test command from example usage plugin,
- Click the 'F' key (switch to off-hand) while cursor is on any item, 2.1. This produces an error (error.txt)
- Close the menu,
- (Note: while player is in survival mode, this only produces a ghost item, though creative mode creates it.) Open your inventory (probably works with opening other inventories aswell)
- Get duplicated item in your off-hand slot.
Hopefully someone smart enough finds a good fix for this, I've fixed this bug in my framework by adding NBT tag to all gui-items and removing them wherever player causes InventoryClickEvent, though i don't find it really optimal solution.
I really love this framework and would love to see it being expanded upon, and documentation being published.
Hi, this Cirrus version is very outdated. Please use 2.1.0+