Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash #6

Closed
OgelGames opened this issue Oct 10, 2020 · 1 comment
Closed

Crash #6

OgelGames opened this issue Oct 10, 2020 · 1 comment
Assignees

Comments

@OgelGames
Copy link
Owner

2020-10-10 01:45:40: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'powerbanks' in callback node_on_timer(): /data/world//worldmods/powerbanks/init.lua:67: attempt to perform arithmetic on local 'item_max_charge' (a nil value)
2020-10-10 01:45:40: ERROR[Main]: stack traceback:
2020-10-10 01:45:40: ERROR[Main]: 	/data/world//worldmods/powerbanks/init.lua:67: in function 'charge_item'
2020-10-10 01:45:40: ERROR[Main]: 	/data/world//worldmods/powerbanks/init.lua:88: in function 'old_action'
2020-10-10 01:45:40: ERROR[Main]: 	.../world//worldmods/monitoring/builtin/nodetimer_calls.lua:26: in function <.../world//worldmods/monitoring/builtin/nodetimer_calls.lua:17>
@OgelGames OgelGames self-assigned this Oct 10, 2020
@OgelGames
Copy link
Owner Author

This is caused by a non-chargeable item being placed in a powerbank, this should not be possible due to checks on inventory move callbacks, but it is possible in Minetest 5.3.0 or earlier because of this engine bug: minetest/minetest#6534

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant