GC-spigot/battle-pass

Static items in rewards menu closing the GUI

Closed this issue · 2 comments

Describe the bug

Hello, I have set this in the rewards menu:

static-items:
  progress-track-locked-item:
    material: 'red_dye'
    customModelData: 4003
    name: '&f&lTier %tier%'
  progress-track-unlocked-item:
    material: 'lime_dye'
    customModelData: 4001
    name: '&f&lTier %tier%'

But when users click it, it closes menu, why please? Other items do not close it, should I add there some empty action or so? But I tried to add it under the name: actions: [] but it didn't work

Menu is also closed when clicking on rewards that I don't have unlocked, but why? I have set close-on-reward-claim: false

How to reproduce

Try my settings or even the default one prob?

Screenshots / Videos

No response

Server Log

No response

Hey! It's not a bug. It was added due to a Minecraft dupe glitch. There is also one simple solution for you - just don't click items if you don't need to do that 😉

yeah, but players click on it & it closes menu, which isn't so nice, but if it can't be solved better way, then it's ok I guess