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
Is there an existing issue for this?
Type of bug
Exploit, Compatibility issue
Environment
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 keyhttps://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