Made ChatBotAPI OnEntityDespawn to pass Entity object instead of EntityID

This commit is contained in:
ReinforceZwei 2020-03-24 15:03:32 +08:00 committed by ORelio
parent dbf5334758
commit 7fbf9443a1
4 changed files with 9 additions and 10 deletions

View file

@ -20,7 +20,7 @@ namespace MinecraftClient.ChatBots
if (!GetEntityHandlingEnabled())
{
ConsoleIO.WriteLine("[AutoFishing] Entity Handling is not enabled in the config file!");
ConsoleIO.WriteLine("Please enable it to use this bot.");
ConsoleIO.WriteLine("[AutoFishing] This bot will be unloaded.");
UnloadBot();
}
}
@ -60,8 +60,7 @@ namespace MinecraftClient.ChatBots
fishingRod[entity.ID] = entity;
}
}
// TODO: Move into ChatBot
/// <summary>
/// Called when detected a fish is caught
/// </summary>