jaquadro / StorageDrawers

A mod adding compartmental storage for Minecraft Forge
MIT License
196 stars 154 forks source link

[1.20.1] Game Crashed when swapping two upgrades in the drawer UI #1099

Open LiAuTraver opened 1 year ago

LiAuTraver commented 1 year ago

Describe the bug

"the class com.jaquadro.minecraft.storagedrawers.item.ItemUpgrade cannot be cast to the class com.jaquadro.minecraft.storagedrawers.item.ItemUpgradeStorage." trying to cast an object of one class to another class that it is not compatible with. trying to cast an object of type ItemUpgrade to ItemUpgradeStorage, but the two classes are not compatible.

To Reproduce

shift+right click to open the drawer ui place 2 different upgrades to the drawer try to swap two upgrades game crashed in client,but the server remains.

Please complete the following information:

Minecraft Version:1.20.1 Mod Version:12.0.2

LiAuTraver commented 11 months ago

pls it's get annoying when multiplaying