Fix error
This commit is contained in:
parent
5891548a4d
commit
b8ea5a075a
@ -196,7 +196,7 @@ armor.set_player_armor = function(self, player)
|
|||||||
local attributes = {}
|
local attributes = {}
|
||||||
local levels = {}
|
local levels = {}
|
||||||
local groups = {}
|
local groups = {}
|
||||||
if not get_bool("enable_damage") then
|
if not minetest.settings:get_bool("enable_damage") then
|
||||||
groups["immortal"] = 1
|
groups["immortal"] = 1
|
||||||
end
|
end
|
||||||
local change = {}
|
local change = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user