mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Remove trailing space on CardHelper.getType()
This commit is contained in:
parent
dd84287305
commit
c854fc3d1a
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ public final class CardHelper {
|
|||
type.append(' ');
|
||||
}
|
||||
}
|
||||
if (type.length() > 0) {
|
||||
// remove trailing space
|
||||
type.deleteCharAt(type.length() - 1);
|
||||
}
|
||||
return type.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue