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:
parent
4629b58593
commit
aafed511a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue