From 816d97e1a6c9b7823ce5bb955f9c62e8627cd098 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 c61bbb4..2628daa 100644 --- a/advtrains/trackplacer.lua +++ b/advtrains/trackplacer.lua @@ -268,7 +268,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