mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 06:13:45 +01:00
admin helmet lets you breathe underwater
added armor_water=1 group to admin helmet so players can breathe underwater.
This commit is contained in:
parent
0ec2dbfb36
commit
241aa663f1
@ -6,7 +6,7 @@ minetest.register_alias("adminlegginss","3d_armor:leggings_admin")
|
||||
minetest.register_tool("3d_armor:helmet_admin", {
|
||||
description = "Admin Helmet",
|
||||
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,
|
||||
on_drop = function(itemstack, dropper, pos)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user