Swap 0 with PlayerAnnounceResult.None

In 44034c7649 I added a magic 0 instead of
a call to an enum because I was looking at an outdated diff that didn't
have `None` as an option. Turns out this was added a day later in a
commit I didn't see originally. Changed to `None` to make code better
documentation wise.
This commit is contained in:
Lucas Nicodemus 2022-02-28 00:34:28 -08:00
parent 4629b58593
commit aafed511a6

View file

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