Skip to content

Instantly share code, notes, and snippets.


rubenwardy/unregister.lua Secret

Last active Apr 19, 2017
What would you like to do?
local old = minetest.register_craftitem
function minetest.register_craftitem(name, def, ...)
-- replace `should_be_unregistered` with specific logic
if not should_be_unregistered then
return old(name, def, ...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.