fix hanf fib abbauen
This commit is contained in:
@@ -463,20 +463,20 @@ namespace ReallifeGamemode.Server.Managers
|
||||
UpdateHanfWorldData(dbContext);
|
||||
}
|
||||
|
||||
private uint GetModelFromPlant(CannabisPlant data)
|
||||
private int GetModelFromPlant(CannabisPlant data)
|
||||
{
|
||||
var cannabisTime = (DateTime.Now - data.PlantDate).TotalMinutes;
|
||||
if (cannabisTime <= 30)
|
||||
{
|
||||
return NAPI.Util.GetHashKey("bkr_prop_weed_bud_pruned_01a");
|
||||
return 1;
|
||||
}
|
||||
else if (cannabisTime <= 60 * 4)
|
||||
{
|
||||
return NAPI.Util.GetHashKey("prop_weed_02");
|
||||
return 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
return NAPI.Util.GetHashKey("prop_weed_01");
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user