aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
authorGabriel PĂ©rez-Cerezo <gabriel@gpcf.eu>2018-06-19 10:39:51 +0200
committerorwell96 <orwell@bleipb.de>2018-08-12 17:50:37 +0200
commita7bb207007970620494393885bfa4ae01c23865b (patch)
tree174a0b6f8745e40bd6e29fbff3629b2c69b937cd /advtrains
parent224d5cbfd3a0403e40eef6604f418bc65e26423d (diff)
downloadadvtrains-a7bb207007970620494393885bfa4ae01c23865b.tar.gz
advtrains-a7bb207007970620494393885bfa4ae01c23865b.tar.bz2
advtrains-a7bb207007970620494393885bfa4ae01c23865b.zip
Make digtron able to build tracks.
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/trackplacer.lua2
1 files changed, 1 insertions, 1 deletions
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()