remove doors and mobs soft dependency
This commit is contained in:
parent
c0e0230367
commit
709f2490e5
2 changed files with 0 additions and 11 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
default
|
default
|
||||||
doors?
|
|
||||||
mobs?
|
|
||||||
intllib?
|
intllib?
|
||||||
lucky_block?
|
lucky_block?
|
||||||
9
init.lua
9
init.lua
|
|
@ -586,15 +586,6 @@ minetest.register_entity("protector:display", {
|
||||||
textures = {"protector:display_node"},
|
textures = {"protector:display_node"},
|
||||||
timer = 0,
|
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)
|
on_step = function(self, dtime)
|
||||||
|
|
||||||
self.timer = self.timer + dtime
|
self.timer = self.timer + dtime
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue