Event typo
This commit is contained in:
parent
5244c2aab7
commit
5bc011679f
1 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ namespace TShockAPI
|
|||
TileEdit.Invoke(null, args);
|
||||
return args.Handled;
|
||||
}
|
||||
|
||||
|
||||
public class TogglePvpEventArgs : HandledEventArgs
|
||||
{
|
||||
public byte PlayerId { get; set; }
|
||||
|
|
@ -256,7 +256,7 @@ namespace TShockAPI
|
|||
|
||||
private static bool OnKillMe(byte plr, byte direction, short damage, bool pvp)
|
||||
{
|
||||
if (TileKill == null)
|
||||
if (KillMe == null)
|
||||
return false;
|
||||
|
||||
var args = new KillMeEventArgs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue