summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/init.lua b/init.lua
index 54d1e7d..8d5328e 100644
--- a/init.lua
+++ b/init.lua
@@ -586,15 +586,6 @@ minetest.register_entity("protector:display", {
textures = {"protector:display_node"},
timer = 0,
- on_activate = function(self, staticdata)
-
- -- Xanadu server only
- if (mobs and mobs.entity and mobs.entity == false)
- or not self then
- self.object:remove()
- end
- end,
-
on_step = function(self, dtime)
self.timer = self.timer + dtime