-
-
Save rud01f/abc83f3d1531b8f2177ac228d4c29a17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local old_tnt_place = minetest.registered_items["tnt:tnt"].on_place; | |
minetest.override_item("tnt:tnt", { | |
on_place = function(itemstack, placer, pointed_thing) | |
-- do some stuff | |
return old_tnt_place(itemstack, placer, pointed_thing) | |
end, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment