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 levels = {}
|
||||
local groups = {}
|
||||
if not get_bool("enable_damage") then
|
||||
if not minetest.settings:get_bool("enable_damage") then
|
||||
groups["immortal"] = 1
|
||||
end
|
||||
local change = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user