forked from mtcontrib/markers
bugfix
This commit is contained in:
parent
2edda7a9f9
commit
2c9fe6cb86
1
init.lua
1
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user