BetterGUI-MC / Issue-Tracker

The issue tracker for BetterGUI
0 stars 0 forks source link

[BUG] Conflict between 2 addons: ItemGotcha & EvalExtra #5

Closed dakto101 closed 1 year ago

dakto101 commented 1 year ago

Type

Addon

Specific

Menu (give item)

Server Software

Paper 1.18.2

Server Information

Plugins: image

Plugin Version

8.0

Content

If you install both ItemGotcha & EvalExtra, ItemGotcha always give you 1 stone block.

Steps to reproduce

1. Run 1.18.2 server.
2. Install ItemGotcha, EvalExtra, VaultBridge addons.
3. Config menu like this:

menu-settings:
  name: '&1&ltest'
  rows: 6
  open-action: 'sound: UI_BUTTON_CLICK'
withdraw1:
  COMMAND:
    - 'sound: ENTITY_BAT_TAKEOFF'
    - 'give: EMERALD, 1'    
  LORE:
    - '&a-------------------'
    - '&aWithdraw &a1 Emerald.'
    - '&a-------------------'
  ID: 'EMERALD'
  CLICK-REQUIREMENT:
    DEFAULT:
        withdraw:
            money:
                value: 1
                take: true
            fail-action: 'tell: &cInsufficient balance.'
  KEEP-OPEN: true
  POSITION-X: 2
  POSITION-Y: 2

Expected Behaviour

After removing EvalExtra, it works normally.

Actual Behaviour

...

Screenshots & Links

No response

HSGamer commented 1 year ago

Update EvalExtra to 2.1

And you can always have EvalExtra skip your string by adding [skip-eval] https://bettergui-mc.github.io/Docs/addon/eval-extra/index.html#skip-the-evaluation