-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Issue type:
- 🐛 Bug
Short description:
When using a function from a script as a predicate in Item exporter, the script executes more than 20 times per second and is also much more inconsistent compared to item importer.
Steps to reproduce the problem:
- Bind the variable card with this function:
function main(item) {
call++;
let time = new Date();
let timestamp = time.toLocaleTimeString();
console.log(timestamp, "call:", call);
return false;
}- Place the variable card in the predicate Item exporter slot that is connected to the target storage and item interface.
- Check the logs.
Expected behaviour:
The execution frequency is no higher than 20 times per second, or the same as for the Item importer.
Versions:
- This mod: 1.0.14
- Minecraft: 1.20.1
- Mod loader version: Forge 47.4.6
Log file:
stdout log: https://pastebin.com/sQfVRviL
Metadata
Metadata
Assignees
Type
Projects
Status
Done