removed global_exists for older clients to work :(
This commit is contained in:
parent
4387de405e
commit
e2f9bbe89f
8
api.lua
8
api.lua
@ -28,10 +28,10 @@ mobs.intllib = S
|
||||
|
||||
-- Invisibility mod
|
||||
|
||||
local invis = {}
|
||||
if minetest.global_exists("invisibility") then
|
||||
invis = invisibility
|
||||
end
|
||||
--local invis = {}
|
||||
--if minetest.global_exists("invisibility") then
|
||||
local invis = invisibility
|
||||
--end
|
||||
|
||||
-- Load settings
|
||||
local damage_enabled = minetest.setting_getbool("enable_damage")
|
||||
|
Loading…
x
Reference in New Issue
Block a user