KubeJS

KubeJS

69M Downloads

Recipes event isnt firing at all

ChiefArug opened this issue · 0 comments

commented

Minecraft Version

1.18.2

KubeJS Version

kubejs-forge-1802.5.1-build.382

Rhino Version

rhino-forge-1801.1.9-build.135

Architectury Version

architectury-4.3.53

Forge/Fabric Version

40.1.0 && 40.1.16

Describe your issue

The recipes event ever fires.

console.log('This is logged')
onEvent('recipes', event => {
	console.log('This is never logged')
})
console.log('This is also logged')

That results in this output:

[19:53:45] [INFO ] server_scripts:script.js:1: This is logged
[19:53:45] [INFO ] server_scripts:script.js:5: This is also logged
[19:53:45] [INFO ] Loaded script server_scripts:script.js in 0.0 s
[19:53:45] [INFO ] Loaded 1/1 KubeJS server scripts in 0.005 s
[19:53:45] [INFO ] Scripts loaded
[19:53:45] [INFO ] Scanning recipes...
[19:53:46] [INFO ] Found 1058 recipes and 0 failed recipes in 15.97 ms
[19:53:46] [INFO ] Posted recipe events in 13.30 μs
[19:53:46] [INFO ] Modified & removed recipes in 9.796 ms
[19:53:46] [INFO ] Added recipes in 20.20 μs
[19:53:46] [INFO ] Added 0 recipes, removed 0 recipes, modified 0 recipes, with 0 failed recipes and 0 fall-backed recipes

Crash report/logs

No response