1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-06-28 14:16:06 +02:00

Added compassgps mod

- Added compassgps mod (solves #53)
 - Added /MFF flags on modified lines of worldedge/init.lua, and used `y+1` instead of `y` for `setpos()`
This commit is contained in:
LeMagnesium
2015-05-19 12:02:05 +02:00
parent 4d30bdcd61
commit 41d3e2f684
47 changed files with 2093 additions and 2 deletions

View File

@ -62,10 +62,10 @@ minetest.register_globalstep(function(dtime)
if pos.z >= edge then
newpos = {x = pos.x, y = 10, z = -newedge}
newpos.y = get_surface_pos(newpos).y
newpos.y = get_surface_pos(newpos).y+1 -- /MFF (Mg|19/05//15)
elseif pos.z <= -edge then
newpos = {x = pos.x, y = 10, z = newedge}
newpos.y = get_surface_pos(newpos).y
newpos.y = get_surface_pos(newpos).y+1 -- /MFF (Mg|19/05/15)
end
-- Teleport the player