Fix `maptools:drowning` using an invalid value and being walkable

This prevented Minetest from starting (tested on
Minetest 5.3.0-dev-cb9a44ef8).

Being walkable also made it impossible to actually drown in, except
when using noclip mode.
This commit is contained in:
Hugo Locurcio 2020-06-08 21:40:10 +02:00
parent f9bf6a0951
commit 246d525c20
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
1 changed files with 2 additions and 1 deletions

View File

@ -476,7 +476,8 @@ minetest.register_node("maptools:drowning", {
drawtype = "airlike",
paramtype = "light",
pointable = false,
drowning = true,
walkable = false,
drowning = 1,
sunlight_propagates = true,
drop = "",
groups = {unbreakable = 1, not_in_creative_inventory = maptools.creative},