Testing PlayerDamage lock

This commit is contained in:
Shank 2011-06-06 02:29:09 -06:00
parent aca2b1a54f
commit 1702e12c4a

View file

@ -405,6 +405,9 @@ namespace TShockAPI
byte direction = br.ReadByte();
Int16 damage = br.ReadInt16();
byte pvp = br.ReadByte();
if (!Main.player[playerid].hostile)
e.Handled = true;
}
}
else if (e.MsgID == 0x30)