From 403f18c0207a34352caceb0cd4c7226235b192aa Mon Sep 17 00:00:00 2001 From: zontreck Date: Thu, 6 Mar 2025 16:55:47 -0700 Subject: [PATCH] Fix rtp not executing #2 --- AriasServerUtils/EventHandler.cs | 2 +- AriasServerUtils/modinfo.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AriasServerUtils/EventHandler.cs b/AriasServerUtils/EventHandler.cs index 9dcb867..12a7600 100644 --- a/AriasServerUtils/EventHandler.cs +++ b/AriasServerUtils/EventHandler.cs @@ -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")); diff --git a/AriasServerUtils/modinfo.json b/AriasServerUtils/modinfo.json index 47deabd..cee9c46 100644 --- a/AriasServerUtils/modinfo.json +++ b/AriasServerUtils/modinfo.json @@ -3,8 +3,8 @@ "modid": "ariasserverutils", "name": "Aria's Server Utilities", "authors": ["zontreck"], - "description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 4:49 PM MST", - "version": "1.0.4-dev.4", + "description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 4:54 PM MST", + "version": "1.0.4-dev.5", "dependencies": { "game": "" }