mirror of
https://notabug.org/TenPlus1/protector.git
synced 2025-03-13 15:02:32 +01:00
remove doors and mobs soft dependency
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
default
|
||||
doors?
|
||||
mobs?
|
||||
intllib?
|
||||
lucky_block?
|
9
init.lua
9
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
|
||||
|
Reference in New Issue
Block a user