Crashing from limited upgrade shift clicking
Fnige opened this issue ยท 1 comments
Describe the bug
When shift clicking in upgrades, (Where said upgrade has an upgrade limit less than whats in the backpack and it isnt at max upgrades yet) will crash the game
Crash log if it's a crash.
https://gist.github.com/Fnige/4d470660d19fe93f2f129e39ef423898
To Reproduce
Steps to reproduce the behavior:
- Grab all the items you need. For this example, I got a netherite backpack and a stack of tank upgrades
- Open up the backpack
- Shift-click the tank upgrades into the backpack
Expected behavior
The tank upgrades shouldve maxed out and either put the rest in the backpack or leave it within the player's inventory
Screenshots
N/A
Versions
Minecraft: 1.20.1
Forge: 47.2.4
Embeddium: 0.2.7
Sophisticated Backpacks: 3.18.65.935
Sophisticated Core: 0.5.100.457