Fix rtp not executing

#2
This commit is contained in:
zontreck 2025-03-06 16:55:47 -07:00
parent 51a71fee24
commit 403f18c020
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ namespace AriasServerUtils
internal static TextCommandResult HandleRTP(TextCommandCallingArgs args)
{
if (args.Caller is IServerPlayer isp)
if (args.Caller.Player is IServerPlayer isp)
{
ServerUtilities.SendMessageTo(isp, Lang.Get($"{ServerUtilities.MOD_ID}:rtp-search"));