summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-30 10:23:37 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-30 10:23:37 +0000
commit709f2490e53c2bbe6a048f6154d6e2f1a1cd7b1c (patch)
treed9d11514c26dc4275fe1e725cf6ad5afa5d28034 /init.lua
parentc0e02303670645e8b49160fdc73a1d31760be27f (diff)
remove doors and mobs soft dependency
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