"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.
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