Remove "Result:" prefix for notification messages with no source.

This commit is contained in:
Jetz
2024-06-23 11:30:25 -04:00
parent 1f77e02396
commit 1233f2bec9

View File

@@ -30,7 +30,7 @@ public class MessageUtil {
// These are not much related to PlayerController
public static String formatNotificationMessage(SpellAbility sa, Player player, GameObject target, String value) {
if (sa == null || sa.getApi() == null || sa.getHostCard() == null) {
return Localizer.getInstance().getMessage("lblResultIs", value);
return String.valueOf(value);
}
String choser = StringUtils.capitalize(mayBeYou(player, target));
switch(sa.getApi()) {