mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 09:13:43 +01:00 
			
		
		
		
	Remove redundant operations on LimitedSizeList
This commit is contained in:
		| @@ -41,7 +41,7 @@ public class LimitedSizeList { | |||||||
|     public boolean contains(Location targetLoc) { |     public boolean contains(Location targetLoc) { | ||||||
|         for (Location iter : limitedSizeOrderedList) { |         for (Location iter : limitedSizeOrderedList) { | ||||||
|             if (iter == null) |             if (iter == null) | ||||||
|                 continue; |                 return false; | ||||||
|  |  | ||||||
|             if (iter.getX() == targetLoc.getX() |             if (iter.getX() == targetLoc.getX() | ||||||
|                     && iter.getY() == targetLoc.getY() |                     && iter.getY() == targetLoc.getY() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nossr50
					nossr50