mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Made ChatBotAPI OnEntityDespawn to pass Entity object instead of EntityID
This commit is contained in:
parent
dbf5334758
commit
7fbf9443a1
4 changed files with 9 additions and 10 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue