removed 2 very annoying debug messages that should not go with 1.0
parent
997f87b473
commit
20b6e43501
|
@ -140,7 +140,6 @@ function tp.placetrack(pos, nnpref)
|
|||
p_rails[#p_rails+1]=i
|
||||
end
|
||||
end
|
||||
print(dump(p_rails))
|
||||
if #p_rails==0 then
|
||||
minetest.set_node(pos, {name=nnpref.."_"..tr.default})
|
||||
elseif #p_rails==1 then
|
||||
|
|
|
@ -338,7 +338,6 @@ function advtrains.register_wagon(sysname, traintype, prototype, desc, inv_img)
|
|||
local conn1=advtrains.get_track_connections(node.name, node.param2)
|
||||
local id=advtrains.create_new_train_at(pointed_thing.under, advtrains.dirCoordSet(pointed_thing.under, conn1), traintype)
|
||||
advtrains.add_wagon_to_train(le, id)
|
||||
print(dump(advtrains.trains))
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
itemstack:take_item()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue