update:
避让修改
This commit is contained in:
		| @@ -118,10 +118,10 @@ public class TaskDistanceUtils { | |||||||
|         if (otherNowPosition>=minDistance&&otherNowPosition<=maxDistance){ |         if (otherNowPosition>=minDistance&&otherNowPosition<=maxDistance){ | ||||||
|             return true; |             return true; | ||||||
|         }else { |         }else { | ||||||
|             if (Math.abs(otherNowPosition-maxDistance)<4){ |             if (Math.abs(otherNowPosition-maxDistance)<2){ | ||||||
|                 return true; |                 return true; | ||||||
|             } |             } | ||||||
|             if (Math.abs(otherNowPosition-minDistance)<4){ |             if (Math.abs(otherNowPosition-minDistance)<2){ | ||||||
|                 return true; |                 return true; | ||||||
|             } |             } | ||||||
|             return false; |             return false; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user