Add OnDeath event for ChatBots (#1220)

* Add New Event
* new Event
This commit is contained in:
Рома Данилов 2020-08-19 00:08:19 +05:00 committed by GitHub
parent e71d0e2383
commit 3adf7c4468
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -320,6 +320,11 @@ namespace MinecraftClient
/// <param name="name">Name of the player</param>
public virtual void OnPlayerLeave(Guid uuid, string name) { }
/// <summary>
/// Called when the player deaths
/// </summary>
public virtual void OnDeath() { }
/// <summary>
/// Called when the player respawns
/// </summary>