mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Remove "Result:" prefix for notification messages with no source.
This commit is contained in:
@@ -30,7 +30,7 @@ public class MessageUtil {
|
|||||||
// These are not much related to PlayerController
|
// These are not much related to PlayerController
|
||||||
public static String formatNotificationMessage(SpellAbility sa, Player player, GameObject target, String value) {
|
public static String formatNotificationMessage(SpellAbility sa, Player player, GameObject target, String value) {
|
||||||
if (sa == null || sa.getApi() == null || sa.getHostCard() == null) {
|
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));
|
String choser = StringUtils.capitalize(mayBeYou(player, target));
|
||||||
switch(sa.getApi()) {
|
switch(sa.getApi()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user