From a7bb207007970620494393885bfa4ae01c23865b Mon Sep 17 00:00:00 2001 From: Gabriel PĂ©rez-Cerezo Date: Tue, 19 Jun 2018 10:39:51 +0200 Subject: Make digtron able to build tracks. --- advtrains/trackplacer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advtrains/trackplacer.lua b/advtrains/trackplacer.lua index 7a4894e..ffae736 100644 --- a/advtrains/trackplacer.lua +++ b/advtrains/trackplacer.lua @@ -264,7 +264,7 @@ function tp.register_track_placer(nnprefix, imgprefix, dispname) description = dispname, inventory_image = imgprefix.."_placer.png", wield_image = imgprefix.."_placer.png", - groups={advtrains_trackplacer=1}, + groups={advtrains_trackplacer=1, digtron_on_place=1}, on_place = function(itemstack, placer, pointed_thing) return advtrains.pcall(function() local name = placer:get_player_name() -- cgit v1.2.3