This commit is contained in:
Sokomine 2014-01-28 00:56:15 +01:00
parent 2edda7a9f9
commit 2c9fe6cb86

View File

@ -335,6 +335,7 @@ markers.get_marker_formspec = function(player, pos, error_msg)
for i=1,3 do for i=1,3 do
if(not( ((n-i) == opposite ) if(not( ((n-i) == opposite )
or not(markers.positions[ name ][ n-i ] )
or ( markers.positions[ name ][ n-i ].x == coords[ 1 ].x or ( markers.positions[ name ][ n-i ].x == coords[ 1 ].x
and markers.positions[ name ][ n-i ].z == coords[ 2 ].z ) and markers.positions[ name ][ n-i ].z == coords[ 2 ].z )
or ( markers.positions[ name ][ n-i ].x == coords[ 2 ].x or ( markers.positions[ name ][ n-i ].x == coords[ 2 ].x