I'm getting this error when loading the pluginGatherManager - Failed to compile: GatherManager.cs(521,35): error CS0246: The type or namespace name `PlantEntity' could not be found. Are you missing an assembly reference?
The type or namespace name `PlantEntity' could not be foundFixed
oxide isn't updated afaik
Error:
(19:23:27) | Error while compiling: GatherManager.cs(521,35): error CS0246: The type or namespace name `PlantEntity' could not be found. Are you missing an assembly reference?
Getting the same thing. Looks like they updated some stuff in Rust. This is going to potentially messup a LOT of servers.
GatherManager - Failed to compile: GatherManager.cs(521,35): error CS0246: The type or namespace name `PlantEntity' could not be found. Are you missing an assembly reference?
This is indeed a issue for all servers.
I'm wondering if this is potentially a relatively easy fix or if it's going to take some time.
I just commented out the OnCropGather hook starting at line 521. Works for everything except crops for now until we get an update.
/* private void OnCropGather(PlantEntity plant, Item item)
{
float modifier;
if (GatherDispenserModifiers.TryGetValue(item.info.displayName.english, out modifier))
{
item.amount = (int)(item.amount * modifier);
}
else if (GatherDispenserModifiers.TryGetValue("*", out modifier))
{
item.amount = (int)(item.amount * modifier);
}
} */
/* private void OnCropGather(PlantEntity plant, Item item)
{
float modifier;
if (GatherDispenserModifiers.TryGetValue(item.info.displayName.english, out modifier))
{
item.amount = (int)(item.amount * modifier);
}
else if (GatherDispenserModifiers.TryGetValue("*", out modifier))
{
item.amount = (int)(item.amount * modifier);
}
} */
I just commented out that function for now and it compiles and works well enough. Obviously this could cause issues when it comes to getting it to work with the new crops though.
I think this will work well enough until we can get a proper update. People mainly care about increased gather rates for everything else. Thanks @Atreuce.
Merged post
Hotfix uploaded. Update is being worked on.
Merged post
Hotfix uploaded. Update is being worked on.
It isn't updated fully. The author is aware.
Replace PlantEntity with GrowableEntity
same. "Error while compiling: ZLevelsRemastered.cs(611,21): error CS0246: The type or namespace name `PlantEntity' could not be found. Are you missing an assembly reference?"
same here
GoldieReplace PlantEntity with GrowableEntity
That is not the fix...
Locked automatically
- 1
- 2