Removed unnecessary code
This commit is contained in:
		| @@ -252,7 +252,7 @@ namespace stardew_access.Features | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
|         public static string? getFarmAnimalAt(GameLocation? location, int x, int y, bool onlyName = false) | ||||
|         public static string? getFarmAnimalAt(GameLocation? location, int x, int y) | ||||
|         { | ||||
|             if (location == null) | ||||
|                 return null; | ||||
| @@ -281,9 +281,6 @@ namespace stardew_access.Features | ||||
|                     int age = farmAnimals[i].age.Value; | ||||
|                     string type = farmAnimals[i].displayType; | ||||
|  | ||||
|                     if (onlyName) | ||||
|                         return name; | ||||
|  | ||||
|                     return $"{name}, {type}, age {age}"; | ||||
|                 } | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user