diff --git a/EXILED/Exiled.API/Extensions/MirrorExtensions.cs b/EXILED/Exiled.API/Extensions/MirrorExtensions.cs
index 3244663a3e..1ab332af2a 100644
--- a/EXILED/Exiled.API/Extensions/MirrorExtensions.cs
+++ b/EXILED/Exiled.API/Extensions/MirrorExtensions.cs
@@ -367,10 +367,11 @@ public static void PlayCassieAnnouncement(this Player player, string words, bool
/// Target to send.
/// The message to be reproduced.
/// The translation should be show in the subtitles.
+ /// The custom subtitles to show.
/// Same on 's isHeld.
/// Same on 's isNoisy.
/// Same on 's isSubtitles.
- public static void MessageTranslated(this Player player, string words, string translation, bool makeHold = false, bool makeNoise = true, bool isSubtitles = true)
+ public static void MessageTranslated(this Player player, string words, string translation, string customSubtitles, bool makeHold = false, bool makeNoise = true, bool isSubtitles = true)
{
StringBuilder announcement = StringBuilderPool.Pool.Get();
@@ -386,7 +387,7 @@ public static void MessageTranslated(this Player player, string words, string tr
{
if (controller != null)
{
- SendFakeTargetRpc(player, controller.netIdentity, typeof(RespawnEffectsController), nameof(RespawnEffectsController.RpcCassieAnnouncement), message, makeHold, makeNoise, isSubtitles);
+ SendFakeTargetRpc(player, controller.netIdentity, typeof(RespawnEffectsController), nameof(RespawnEffectsController.RpcCassieAnnouncement), message, makeHold, makeNoise, isSubtitles, customSubtitles);
}
}
}