diff --git a/AriasServerUtils/RTPFactory.cs b/AriasServerUtils/RTPFactory.cs index 77d9fe0..45cf750 100644 --- a/AriasServerUtils/RTPFactory.cs +++ b/AriasServerUtils/RTPFactory.cs @@ -149,6 +149,15 @@ public class RTPFactory // Log the request ChunkChecks.Add(chunk); + + if (rtp.NumTriesRemaining <= 0) + { + // Send failure message to the player + ServerUtilities.SendMessageTo(rtp.player, Lang.Get($"{ServerUtilities.MOD_ID}:rtp-fail")); + // This check needs to be removed from the queue + RTPCache.Remove(rtp); + return; // We modified the list, so abort the loop. + } } } diff --git a/AriasServerUtils/modinfo.json b/AriasServerUtils/modinfo.json index 1dd4911..3352e71 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-10-2025 @ 10:06 AM MST", - "version": "1.0.6-dev.10", + "description": "A collection of server utilities\n\nBuild Date: 03-10-2025 @ 10:08 AM MST", + "version": "1.0.6-dev.11", "dependencies": { "game": "" }