Duplicate the augments inside by dropping the opened module
ffcr opened this issue ยท 0 comments
Describe the bug
When opening the module's GUI, it does not check whether the operation can be successfully written into the module. As a result, when the module is not in inventory, take out augments in GUI will not affect the module, so the augments can be duplicated.
How to reproduce the bug
Modular Routers version: 13.2.3
- Put augments into a module
- Open the module's GUI
- Press Q to drop the module
- Take out augments
- Close GUI
- Pick up the module and see that the augments are still there.
Expected behavior
When the player performs any operation in the GUI, check whether the operation can actually be applied to the item, and prevent the operation if it cannot be applied.
Additional details
Although it has been prevented from picking up the opened module with the left mouse button in the GUI, there are many ways to move the item to another grid or even out of the inventory.
For example, use 1 to 9 or F to move the module to another grid, use Q to discard the module, and use the player module to transfer the module. When there are other mods in the game, there will be more glitches.
Therefore, it may be necessary to verify each step of the operation to ensure synchronization of the operation.
Which Minecraft version are you using?
1.21
Crash log
No response