Crash when removing macerator after disconnecting it from the generator #25

Closed
opened 2024-05-11 23:18:18 +02:00 by HandfulOfFrogs · 3 comments
Contributor
AsyncErr: Lua: Runtime error from mod 'industrialtest' in callback item_OnUse(): "Runtime error from mod 'industrialtest' in callback node_on_destruct(): ....minetest.Minetest/.minetest/mods/industrialtest/api.lua:519: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
	[C]: in function 'ipairs'
	....minetest.Minetest/.minetest/mods/industrialtest/api.lua:519: in function 'removeNodeFromNetwork'
	...netest/.minetest/mods/industrialtest/machines/common.lua:158: in function 'onDestruct'
	...netest/.minetest/mods/industrialtest/machines/common.lua:297: in function <...netest/.minetest/mods/industrialtest/machines/common.lua:296>
	[C]: in function 'remove_node'
	...es/mineclone2/mods/ITEMS/REDSTONE/mcl_observers/init.lua:380: in function 'remove_node'
	....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:31: in function 'onWrenchUse'
	....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:48: in function <....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:47>"
stack traceback:
	[C]: in function 'remove_node'
	...es/mineclone2/mods/ITEMS/REDSTONE/mcl_observers/init.lua:380: in function 'remove_node'
	....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:31: in function 'onWrenchUse'
	....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:48: in function <....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:47>```
``` AsyncErr: Lua: Runtime error from mod 'industrialtest' in callback item_OnUse(): "Runtime error from mod 'industrialtest' in callback node_on_destruct(): ....minetest.Minetest/.minetest/mods/industrialtest/api.lua:519: bad argument #1 to 'ipairs' (table expected, got nil) stack traceback: [C]: in function 'ipairs' ....minetest.Minetest/.minetest/mods/industrialtest/api.lua:519: in function 'removeNodeFromNetwork' ...netest/.minetest/mods/industrialtest/machines/common.lua:158: in function 'onDestruct' ...netest/.minetest/mods/industrialtest/machines/common.lua:297: in function <...netest/.minetest/mods/industrialtest/machines/common.lua:296> [C]: in function 'remove_node' ...es/mineclone2/mods/ITEMS/REDSTONE/mcl_observers/init.lua:380: in function 'remove_node' ....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:31: in function 'onWrenchUse' ....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:48: in function <....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:47>" stack traceback: [C]: in function 'remove_node' ...es/mineclone2/mods/ITEMS/REDSTONE/mcl_observers/init.lua:380: in function 'remove_node' ....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:31: in function 'onWrenchUse' ....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:48: in function <....Minetest/.minetest/mods/industrialtest/tools/wrench.lua:47>```
Author
Contributor

Here is the macerator in question

image

Here is the macerator in question ![image](/attachments/1ab8fe73-6e2b-4465-960e-6b670bf70097)
804 KiB
mrkubax10 added the
crash
label 2024-05-12 09:03:15 +02:00
Owner

Does 4ac7210f40 fix the issue?

Does 4ac7210f40 fix the issue?
Author
Contributor

It does

It does
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mrkubax10/industrialtest#25
No description provided.