Hey, i wondered why all new items were missing.
Even when i used the commands:
You have to simply change the "!=" to "==" in both functions.
Here to copy:
Even when i used the commands:
recyclemanager.updateingredientlist
recyclemanager.reloadingredientlistLooks like there is a little error in these both functions:
[ConsoleCommand("recyclemanager.reloadingredientlist")]
private void reloadDataCONSOLECMD(ConsoleSystem.Arg args)
{
if (args.Connection != null)
return;
OutputData = Interface.Oxide.DataFileSystem.GetFile("RecycleManager");
LoadData();
Puts("Recycler output list has successfully been updated!");
}
[ConsoleCommand("recyclemanager.updateingredientlist")]
private void UpdateIngredientListCMD(ConsoleSystem.Arg arg)
{
if (arg.Connection != null)
return;
UpdateIngredientList();
Puts("Recycler ingredients list has been updated!");
}You have to simply change the "!=" to "==" in both functions.
Here to copy:
[ConsoleCommand("recyclemanager.reloadingredientlist")]
private void reloadDataCONSOLECMD(ConsoleSystem.Arg args)
{
if (args.Connection == null)
return;
OutputData = Interface.Oxide.DataFileSystem.GetFile("RecycleManager");
LoadData();
Puts("Recycler output list has successfully been updated!");
}
[ConsoleCommand("recyclemanager.updateingredientlist")]
private void UpdateIngredientListCMD(ConsoleSystem.Arg arg)
{
if (arg.Connection == null)
return;
UpdateIngredientList();
Puts("Recycler ingredients list has been updated!");
}After this you can use the update command properly and you will get the message: "Recycler ingredients list has been updated!".