Integrated Dynamics

Integrated Dynamics

63M Downloads

Can't use apply result as first parameter to choice operator

tornewuff opened this issue ยท 0 comments

commented

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:

  1. Create an operator card for "equals" and an integer card for 42
  2. Create an apply2 card using the equals operator and the same integer twice (the resulting card is always true, obviously)
  3. 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