Disable portal set-up on place

This aviods air portals being created by default
master
qwertymine3 2016-09-17 19:41:50 +01:00
parent a28be575f4
commit b9cab25467
1 changed files with 2 additions and 0 deletions

View File

@ -14,12 +14,14 @@ local portal_out = {
tiles = {"default_mese_block.png"},
is_ground_content = false,
groups = {dig_immediate=3,source=1},
--[[
after_place_node = function(pos)
try_set_portal(pos)
end,
on_contruct = function(pos)
try_set_portal(pos)
end,
--]]
on_rightclick = function(pos,node)
try_set_portal(pos)
end,