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

convert remove_items in item_drop to avoid crashes #61

Merged
merged 1 commit into from
Jul 20, 2013
Merged

convert remove_items in item_drop to avoid crashes #61

merged 1 commit into from
Jul 20, 2013

Conversation

hdastwb
Copy link

@hdastwb hdastwb commented Jul 20, 2013

minetest.setting_get returns a string, but time is assumed to be a number later on; if the setting is not converted, it will crash the game every time that it steps when remove_items is actually defined

ShadowNinja added a commit that referenced this pull request Jul 20, 2013
Convert remove_items to a number in item_drop to avoid crashes
@ShadowNinja ShadowNinja merged commit e43e6cc into minetest-mods:master Jul 20, 2013
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

Successfully merging this pull request may close these issues.

2 participants