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) 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")); ServerUtilities.SendMessageTo(isp, Lang.Get($"{ServerUtilities.MOD_ID}:rtp-search"));

View file

@ -3,8 +3,8 @@
"modid": "ariasserverutils", "modid": "ariasserverutils",
"name": "Aria's Server Utilities", "name": "Aria's Server Utilities",
"authors": ["zontreck"], "authors": ["zontreck"],
"description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 4:49 PM MST", "description": "A collection of server utilities\n\nBuild Date: 03-06-2025 @ 4:54 PM MST",
"version": "1.0.4-dev.4", "version": "1.0.4-dev.5",
"dependencies": { "dependencies": {
"game": "" "game": ""
} }