Hotfix NPE
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
48b33337ac
Commit
b11fba3280
@ -186,7 +186,7 @@ public class FightTeam implements IFightTeam{
|
|||||||
|
|
||||||
public void setLeader(FightPlayer leader) {
|
public void setLeader(FightPlayer leader) {
|
||||||
this.leader = leader;
|
this.leader = leader;
|
||||||
if(ready)
|
if(ready && leader != null)
|
||||||
setReady(false);
|
setReady(false);
|
||||||
|
|
||||||
if (leader == null){
|
if (leader == null){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren