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

//clearobjects should remove unknown objects #244

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

fluxionary
Copy link
Contributor

currently, //clearobjects will not remove unknown objects. for unknown objects, minetest.is_player(obj) is false, and obj:get_luaentity() is nil. calling obj:remove() on a player is a no-op, per the documentation.

worldedit/manipulations.lua Outdated Show resolved Hide resolved
@sfan5 sfan5 merged commit f75700e into Uberi:master Mar 29, 2024
3 checks passed
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