Skip to content

Instantly share code, notes, and snippets.


rud01f/tnt.lua Secret

Created Apr 2, 2018
What would you like to do?
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)
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.