Fix error

master
Yiu Man Ho 2020-09-26 14:30:33 +08:00
parent 5891548a4d
commit b8ea5a075a
No known key found for this signature in database
GPG Key ID: 7939838BC85BF618
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {}