diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 93986a1f..b4effabf 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -254,7 +254,7 @@ namespace TShockAPI OTAPI.Hooks.NetMessage.PlayerAnnounce += (sender, args) => { //TShock handles this - args.Result = 0; + args.Result = OTAPI.Hooks.NetMessage.PlayerAnnounceResult.None; }; // if sqlite.interop cannot be found, try and search the runtimes folder. this usually happens when debugging tsapi // since it does not have the dependency installed directly