forked from External/mage
Dev: added additional info to some classes for easy debug;
This commit is contained in:
parent
bde6222ea6
commit
0e916b6e29
19 changed files with 133 additions and 19 deletions
|
|
@ -144,4 +144,8 @@ public class SpellStack extends ArrayDeque<StackObject> {
|
|||
return dateLastAdded;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.size() + (this.isEmpty() ? "" : " (top: " + this.getFirst().toString() + ")");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue