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": "" }