mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Fix IntPlusDynamicValue not modifying getMessage as well
This commit is contained in:
parent
d41d9693b4
commit
93ebabf443
1 changed files with 2 additions and 4 deletions
|
|
@ -36,14 +36,12 @@ public class IntPlusDynamicValue implements DynamicValue {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(baseValue).append(" plus ");
|
||||
return sb.append(value.toString()).toString();
|
||||
return baseValue + " plus " + value.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
return value.getMessage();
|
||||
return baseValue + " plus " + value.getMessage();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue