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:
James Puleo 2022-03-26 16:44:54 -04:00
parent 0c37b0fed3
commit 16d48a4a56
No known key found for this signature in database
GPG key ID: 3E16C7EFA34FB15D

View file

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