forked from External/mage
game, refactor: improved player related code, fixed miss reset fields between games like commanderIds (#11081, #11628)
This commit is contained in:
parent
a090a2a9d0
commit
6ac2f44cc1
7 changed files with 92 additions and 71 deletions
|
|
@ -150,11 +150,6 @@ public class MatchPlayer implements Serializable {
|
|||
// this.player = null;
|
||||
}
|
||||
|
||||
public void cleanUp() {
|
||||
// Free resources that are not needed after match end
|
||||
this.player = null;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue