Make digtron able to build tracks.

master
Gabriel Pérez-Cerezo 2018-06-19 10:39:51 +02:00 committed by orwell96
parent 224d5cbfd3
commit a7bb207007
1 changed files with 1 additions and 1 deletions

View File

@ -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()