Closed Sixsoul closed 2 years ago
Strangely this wasn't reported until now. The plugin was heavily tested before. I also tried now and I can't manage to reproduce the issue.
(in the video I'm trying to right click to open, but as you can see it won't work, it just picks up the item).
I tested on a normal chest GUI and on the RPGBank GUI, I can't open the backpack here.
I have this check in my code:
if(e.getView().getTopInventory().getHolder() != null && e.getView().getTopInventory().getType() != InventoryType.CRAFTING)
return;
Here's a video.
I just noticed you updated your message stating something else compared to the original message which I only noticed now.
right click while in any other plugin GUI,
So is this wrong? Is this bug happening only on trading GUIs?
Anyway, I pushed a new update, I tested it and I cannot reproduce the issue anymore. Please next time include the video and the correct details, I cannot fix bugs if the description doesn't state how to reproduce the problem correctly.
Thanks for the patience and have a nice week :D
Describe the bug If a player opens a backpack with right click while in any other plugin GUI, they can remove items from the backpack with right click. Then when they exit the GUI they will have the items still in their backpack and in their inventory. It's not a specific plugin incompatibility, I've tested it with 5+ plugins that use GUIs.
Expected behavior A quick fix would be to just add an option that disables being able to open backpacks with right-click in inventory.
Info (please complete the following information):