Event typo

This commit is contained in:
high 2012-01-01 15:37:33 -05:00
parent 5244c2aab7
commit 5bc011679f

View file

@ -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