diff --git a/LICENSE b/LICENSE index 7eb6728..a7dc63a 100644 --- a/LICENSE +++ b/LICENSE @@ -11,6 +11,11 @@ mod, distributed under the WTFPL license. https://forum.minetest.net/viewtopic.php?f=9&t=9522 +Translocator node design, including models and textures came from Auke Kok's warps mod, distributed under LGPL 2.1 and cc-by-sa 3. + +https://github.com/minetest-mods/warps/blob/master/LICENSE + + The rest of this mod is distributed under the LGPL 2.1 license for historic reasons. diff --git a/tesseract.lua b/tesseract.lua index d49e2d0..8cfca6e 100644 --- a/tesseract.lua +++ b/tesseract.lua @@ -325,12 +325,10 @@ local function translocate(pos, node, clicker, itemstack, pointed_thing) local pos2 if minetest.serialize(pair[2]) == minetest.serialize(pos) then - pos2 = table.copy(pair[1]) + clicker:setpos(pair[1]) else - pos2 = table.copy(pair[2]) + clicker:setpos(pair[2]) end - pos2.y = pos2.y + 1 - clicker:setpos(pos2) end local function trans_use(itemstack, user, pointed_thing) @@ -434,7 +432,6 @@ minetest.register_node("fun_caves:translocator", { description = 'Translocator', tiles = {'fun_caves_translocator.png'}, drawtype = 'mesh', - --wield_scale = {x = 1.5, y = 1.5, z = 1.5}, sunlight_propagates = true, walkable = false, paramtype = 'light',