nodecore-cd2025/mods/nc_api/compat_legacyent.lua

9 lines
290 B
Lua
Raw Normal View History

-- LUALOCALS < ---------------------------------------------------------
local minetest
= minetest
-- LUALOCALS > ---------------------------------------------------------
minetest.register_entity("nc_api:stackent", {
on_activate = function(self) return self.object:remove() end
})