Fixes #1210
This commit is contained in:
parent
0e30335a7a
commit
779ee431a4
1 changed files with 3 additions and 0 deletions
|
|
@ -3229,6 +3229,9 @@ namespace TShockAPI
|
||||||
if (OnPlayerBuff(id, type, time))
|
if (OnPlayerBuff(id, type, time))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (TShock.Players[id] == null)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (TShock.CheckIgnores(args.Player))
|
if (TShock.CheckIgnores(args.Player))
|
||||||
{
|
{
|
||||||
args.Player.SendData(PacketTypes.PlayerAddBuff, "", id);
|
args.Player.SendData(PacketTypes.PlayerAddBuff, "", id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue