mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
All 1-character strings converted to primitives
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
This commit is contained in:
parent
7b35e25347
commit
0de8bd2f70
453 changed files with 991 additions and 979 deletions
|
|
@ -92,7 +92,7 @@ public class GainLifeTargetEffect extends OneShotEffect {
|
|||
}
|
||||
sb.append(" gains ");
|
||||
if (message.isEmpty() || !message.equals("1")) {
|
||||
sb.append(life.toString()).append(" ");
|
||||
sb.append(life.toString()).append(' ');
|
||||
}
|
||||
sb.append("life");
|
||||
if (message.length() > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue