Integrated Dynamics

Integrated Dynamics

63M Downloads

Predicate has wrong type

josephcsible opened this issue ยท 2 comments

commented

Issue type:

Only keep the issue types that are applicable.

  • ๐Ÿ› Bug

Short description:

Predicates occasionally claim that they have a type other than their correct type, giving spurious type errors.

Steps to reproduce the problem:

  1. Build the following predicate: pipe(Item Damage, apply(Greater Than, 10))
  2. Place the predicate in an item exporter

Expected behaviour:

All items that have taken less than 10 damage will be exported

Actual behaviour:

The exporter errors with the message "This aspect expects Item -> Boolean, but Number -> Boolean was given."


Versions:

Exact versions of the following mods, not just latest.

  • This mod: 0.11.0
  • CyclopsCore: 0.11.2
  • Minecraft: 1.12.2
  • Forge: 14.23.1.2605
  • Integrated Tunnels: 1.5.0

Log file:

Don't paste contents here directly, but use something like http://pastebin.com/

Nothing relevant

commented

The additional type checking that was introduced recently might be too strict in some cases.

commented

This seems to be quite prevalent.