CyclopsMC / IntegratedScripting

Create scripts for handling complex operations in Integrated Dynamics
MIT License
9 stars 1 forks source link

Grash when inserting script card in wrong exporter slot #20

Open Hiranus opened 2 hours ago

Hiranus commented 2 hours ago

Issue type:


Short description:

Game crashes when I insert a card that executes this function into wrong slot in any exporter

function anvils() { return [ itemByName("minecraft:damaged_anvil"), itemByName("minecraft:chipped_anvil"), itemByName("minecraft:anvil"), ]; }

Steps to reproduce the problem:

  1. make card that executes script provided above,
  2. insert it into single item slot or predicate exporter

Expected behaviour:

Red X instead of crash.


Versions:

Log file:

https://pastebin.com/KnvwzJdH

rubensworks commented 2 hours ago

Thanks for reporting!