Game Crash: Operator ValueTypeOperator$ValueOperator cannot be cast to ValueTypeBoolean$ValueBoolean
Targren opened this issue ยท 4 comments
Issue type:
- ๐ Bug
Short description:
Similar to #99 but still exists in 1.12.2-1.5.6.
Presumably invalid logic assembly causes game to crash (see details below)
Steps to reproduce the problem:
- Created variable structure ("Label": for readability)
- "FilterA": Inventory ReaderA.Items (List)
- "FilterB": Inventory ReaderB.Items (List)
- "FilterCombine": Concat(FilterA, FilterB)
- "Contains": Operator("List Contains")
- "Doesn't Contain": Negation(Operator(List Contains))
- "Filter Doesn't Contain": Apply("Doesn't Contain", "FilterCombine")
-
Add random items to the inventories connected to InventoryReaders A and B
-
Put "Filter Doesn't Contain" card in the "Export Items Predicate" slot of an Item Exporter.
Expected behaviour:
Export items from the network that are in neither inventory filled in step 2 (assuming logic is correct), or fail with a red "X" and explanation message (if it is not)
Versions:
- This mod: 1.12.2-1.5.6
- Minecraft: 1.12.2
- Forge: 14.23.5.2768
Log file:
Same problem as CyclopsMC/IntegratedDynamics#644 (which has been fixed now), expect a new ID release soon.
Hmm, thanks for reporting.
It looks like operators are even harder to implement than they are to use.
It looks like operators are even harder to implement than they are to use.
Does this mean you can see where I screwed up my thinking? I'd love if you'd point it out. I haven't done much FP since college which was... quite some time ago.