fixed factory
This commit is contained in:
parent
4bf2b2c108
commit
9138ec8402
5 changed files with 44 additions and 9 deletions
|
|
@ -119,6 +119,10 @@ public class PlayerHandler {
|
|||
}
|
||||
|
||||
public void setGaiaPlayer(Player p){
|
||||
if(gaia != null && playerNode.contains(gaia.getNode())){
|
||||
playerNode.remove(gaia.getNode());
|
||||
}
|
||||
gaia = p;
|
||||
playerNode.add(gaia.getNode());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue