mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-12 10:50:21 +01:00
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
|
-- Invisibility mod
|
||||||
|
|
||||||
local invis = {}
|
--local invis = {}
|
||||||
if minetest.global_exists("invisibility") then
|
--if minetest.global_exists("invisibility") then
|
||||||
invis = invisibility
|
local invis = invisibility
|
||||||
end
|
--end
|
||||||
|
|
||||||
-- Load settings
|
-- Load settings
|
||||||
local damage_enabled = minetest.setting_getbool("enable_damage")
|
local damage_enabled = minetest.setting_getbool("enable_damage")
|
||||||
|
Loading…
Reference in New Issue
Block a user