mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
tests, refactor: removed outdated code
This commit is contained in:
parent
229e8d3075
commit
1f36a32a6e
6 changed files with 8 additions and 311 deletions
|
|
@ -39,7 +39,6 @@ public class PermanentCard extends PermanentImpl {
|
|||
|
||||
// runtime check: must use real card only inside
|
||||
if (card instanceof PermanentCard) {
|
||||
// TODO: allow?
|
||||
throw new IllegalArgumentException("Wrong code usage: can't use PermanentCard inside another PermanentCard");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue