Fixed HandlePlayerAddBuff data handler always being marked as Handled
This would cause all `PlayerAddBuff` packets to always be rejected, causing desync, and general annoyance, as it meant any PvP items that applied buffs never worked.
This commit is contained in:
parent
0c37b0fed3
commit
16d48a4a56
1 changed files with 1 additions and 2 deletions
|
|
@ -3466,8 +3466,7 @@ namespace TShockAPI
|
|||
if (OnPlayerBuff(args.Player, args.Data, id, type, time))
|
||||
return true;
|
||||
|
||||
args.Player.SendData(PacketTypes.PlayerAddBuff, "", id);
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
private static bool HandleUpdateNPCHome(GetDataHandlerArgs args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue