[Scarpet] java.lang.ClassCastException error when trying to access the inventory of an armor stand
CommandLeo opened this issue ยท 0 comments
To reproduce
/script run inventory_has_items(spawn('armor_stand', [0,0,0]));
Expected behaviour
Return true if the armor stand has items, false if it doesn't.
Environment
- Carpet version: 1.4.44
- Minecraft version: 1.16.5
Additional Context
Complete error message:
Error while evaluating expression: java.lang.ClassCastException: net.minecraft.class_1531 cannot be cast to net.minecraft.class_1308 in system chat at pos 1
HERE>> inventory_has_items(spawn('armor_stand', [0,0,0]));
Error while evaluating expression