Add files via upload

master
AiTechEye 2018-08-14 10:16:04 +02:00 committed by GitHub
parent 8c7ca051f2
commit 5a49bb9c4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ tpgate.teleport_move=function(pos,player)
end
tpgate.teleport=function(pos,player)
local p=player:getpos()
local p=player:get_pos()
local x=math.floor((p.x-pos.x)+ 0.5)
local y=math.floor((p.y-pos.y)+ 0.5)
local z=math.floor(( p.z-pos.z)+ 0.5)
@ -155,4 +155,4 @@ minetest.register_craft({
{"default:stone","default:meselamp","default:stone"},
{"","default:stone",""},
}
})
})