Add item moving helper class (#1243)

* Create item moving helper class
* Change the method calling order for joined game
 Dispatch bot after things are initialized such as inventories
* Add GetItemMovingHelper ChatBot method
This commit is contained in:
ReinforceZwei 2020-08-29 23:53:29 +08:00 committed by GitHub
parent de9dcd6d77
commit cd1badb9d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 186 additions and 1 deletions

View file

@ -1510,7 +1510,6 @@ namespace MinecraftClient
Settings.MCSettings_Skin_All,
Settings.MCSettings_MainHand);
DispatchBotEvent(bot => bot.AfterGameJoined());
if (inventoryHandlingRequested)
{
@ -1520,6 +1519,8 @@ namespace MinecraftClient
}
ClearInventories();
DispatchBotEvent(bot => bot.AfterGameJoined());
}
/// <summary>