1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2025-06-29 06:40:41 +02:00

Make water protection optional, default true

This can save a `global_step` regisration if neither fire or water
protection are enabled.
This commit is contained in:
stujones11
2017-03-31 21:18:29 +01:00
parent 23e4d5114f
commit 1fdff7adaa
3 changed files with 41 additions and 32 deletions

View File

@ -66,6 +66,7 @@ armor.config = {
material_gold = true,
material_mithril = true,
material_crystal = true,
water_protect = true,
fire_protect = minetest.get_modpath("ethereal") ~= nil
}