summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--depends.txt2
-rw-r--r--init.lua9
2 files changed, 0 insertions, 11 deletions
diff --git a/depends.txt b/depends.txt
index 9023044..8a8d2a2 100644
--- a/depends.txt
+++ b/depends.txt
@@ -1,5 +1,3 @@
default
-doors?
-mobs?
intllib?
lucky_block? \ No newline at end of file
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