Fixed busy stone

master
Mohammad Shoaib 2022-03-20 12:26:01 +05:30
parent b3bad018dc
commit 2a003fc6ba
1 changed files with 6 additions and 2 deletions

View File

@ -678,6 +678,9 @@ namespace stardew_access.Features
if (correctNameAndCategory.name != null) if (correctNameAndCategory.name != null)
toReturn = correctNameAndCategory; toReturn = correctNameAndCategory;
if (toReturn.name.ToLower().Equals("stone"))
toReturn.category = CATEGORY.Debris;
if (obj is Chest) if (obj is Chest)
{ {
Chest chest = (Chest)obj; Chest chest = (Chest)obj;
@ -687,7 +690,8 @@ namespace stardew_access.Features
if (obj is Furniture) if (obj is Furniture)
toReturn.category = CATEGORY.Furnitures; toReturn.category = CATEGORY.Furnitures;
if(toReturn.category == CATEGORY.Others) { if (toReturn.category == CATEGORY.Others)
{
MachineState machineState = GetMachineState(obj); MachineState machineState = GetMachineState(obj);
if (machineState == MachineState.Ready) if (machineState == MachineState.Ready)
toReturn.name = $"Harvestable {toReturn.name}"; toReturn.name = $"Harvestable {toReturn.name}";