Merge pull request #43 from tenplus1/patch-6

admin helmet lets you breathe underwater
This commit is contained in:
stujones11 2016-01-28 01:35:46 +08:00
commit f83e7e9984

View File

@ -6,7 +6,7 @@ minetest.register_alias("adminlegginss","3d_armor:leggings_admin")
minetest.register_tool("3d_armor:helmet_admin", { minetest.register_tool("3d_armor:helmet_admin", {
description = "Admin Helmet", description = "Admin Helmet",
inventory_image = "3d_armor_inv_helmet_admin.png", inventory_image = "3d_armor_inv_helmet_admin.png",
groups = {armor_head=1000, armor_heal=1000, armor_use=0, not_in_creative_inventory=1}, groups = {armor_head=1000, armor_heal=1000, armor_use=0, armor_water=1, not_in_creative_inventory=1},
wear = 0, wear = 0,
on_drop = function(itemstack, dropper, pos) on_drop = function(itemstack, dropper, pos)
return return