Crazy-Crew / CrazyCrates

Add unlimited crates to your server with 10 different crate types to choose from!
https://modrinth.com/plugin/crazycrates
MIT License
154 stars 152 forks source link

[Bug Report]: items in inventory prevent key usage. #669

Closed andrewkm closed 8 months ago

andrewkm commented 8 months ago

Spark link

N/A

Server Version

1.20.4

Server Platform

Paper

Describe the bug

Having items in the inventory before a valid key prevents the key from being recognized with /cc open and /cc GUI.

Crate Type

CSGO

Steps to reproduce

  1. Have an item, like dirt in Slot 1
  2. Have a valid key in a later slot, such as slot 4 or 5.
  3. Attempt to open the crate for the valid key using /cc open and the /cc GUI
  4. Get "You need a key" error.

Additional context

Using https://github.com/Crazy-Crew/CrazyCrates/commit/3f50a2fbf06dd4a91b87b3c16360a91739c7370d Paper Build 463 Config: https://pastebin.com/cR7MgwRA

Agreements

andrewkm commented 8 months ago

Confirmed fixed. :)