Fix crash glitch with vine registry

This simple change stops vines and roots from crashing client/servers by not making them buildable to.
This commit is contained in:
tenplus1 2017-01-04 19:11:41 +00:00 committed by GitHub
parent cf34bfe590
commit 400f6b856c

@ -32,7 +32,7 @@ vines.register_vine = function( name, defs, biome )
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
buildable_to = true, buildable_to = false,
tiles = { vine_image_end }, tiles = { vine_image_end },
drawtype = drawtype, drawtype = drawtype,
inventory_image = vine_image_end, inventory_image = vine_image_end,
@ -70,7 +70,7 @@ vines.register_vine = function( name, defs, biome )
sunlight_propagates = true, sunlight_propagates = true,
paramtype = "light", paramtype = "light",
paramtype2 = "wallmounted", paramtype2 = "wallmounted",
buildable_to = true, buildable_to = false,
tiles = { vine_image_middle }, tiles = { vine_image_middle },
wield_image = vine_image_middle, wield_image = vine_image_middle,
drawtype = drawtype, drawtype = drawtype,