From 16d48a4a56680bc9672f9dbf160032304114bfe0 Mon Sep 17 00:00:00 2001 From: James Puleo Date: Sat, 26 Mar 2022 16:44:54 -0400 Subject: [PATCH] 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. --- TShockAPI/GetDataHandlers.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index 4101e5d4..0770eda0 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -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)