Can't use apply result as first parameter to choice operator
tornewuff opened this issue ยท 0 comments
Issue type:
- ๐ Bug
Short description:
The choice operator won't accept an "apply" variable as its first parameter, even if the result of that apply is a boolean.
Expected behaviour:
Any variable which will actually evaluate to a boolean should be valid in the first parameter of the choice operator.
Actual behaviour:
Error "The operator choice received an input with type Any at position 0 while the type Boolean was expected."
Steps to reproduce the problem:
- Create an operator card for "equals" and an integer card for 42
- Create an apply2 card using the equals operator and the same integer twice (the resulting card is always true, obviously)
- Try to create a choice card using the apply2 card as the condition and anything as the results
Versions:
- This mod: 0.9.8
- CyclopsCore: 0.10.24
- Minecraft: 1.12.2
- Forge: 14.23.1.2566