snowgears / shopbugs

Shop bug tracker
8 stars 4 forks source link

[BUG] Exploit with GameModeInventories #371

Closed RhythmicSys closed 1 year ago

RhythmicSys commented 1 year ago

Is there an existing issue for this?

Type of bug

Exploit, Compatibility issue

Environment

- Server Version: `Purpur 1.19.3-1864`
- Shop Version: `1.8.4`

Server startup log

https://mclo.gs/QjEC9WP

Shop config files

https://mclo.gs/DzelyRI

Error log (if applicable)

No response

Bug description

When searching items - the player is put into GMC, gamemode inventories restores their creative menu, and anything on the hotbar can be dropped with the drop key

Steps to reproduce

Have both gamemode inventories and shop enabled fill your hotbar with items while in creative mode switch back to survival search for an item in the search GUI scroll to a slot, and hold q or whatever key is your drop key

https://user-images.githubusercontent.com/45906780/207750930-bb89c3e1-8388-4e48-a555-3f5a69eae3cc.mp4

Expected behaviour

Players should not be able to drop anything from their inventory while searching an item

Actual behaviour

Players can drop things in their hotbar

Other information

Gamemode inventories current: http://tardisjenkins.duckdns.org:8080/job/GameModeInventories/ Gamemode inventories bukkit page: https://dev.bukkit.org/projects/gamemodeinventories

snowgears commented 1 year ago

Should be fixed in 1.8.4.1 (in progress)

Please reopen if this happens again going foward!