Testing PlayerDamage lock
This commit is contained in:
parent
aca2b1a54f
commit
1702e12c4a
1 changed files with 3 additions and 0 deletions
|
|
@ -405,6 +405,9 @@ namespace TShockAPI
|
||||||
byte direction = br.ReadByte();
|
byte direction = br.ReadByte();
|
||||||
Int16 damage = br.ReadInt16();
|
Int16 damage = br.ReadInt16();
|
||||||
byte pvp = br.ReadByte();
|
byte pvp = br.ReadByte();
|
||||||
|
|
||||||
|
if (!Main.player[playerid].hostile)
|
||||||
|
e.Handled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (e.MsgID == 0x30)
|
else if (e.MsgID == 0x30)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue