stuff fix

This commit is contained in:
Sem van der Hoeven
2020-06-07 16:34:27 +02:00
parent 8344cbab0b
commit 133310a3e2
2 changed files with 18 additions and 12 deletions

View File

@@ -378,7 +378,6 @@ public class MainGame extends Game implements ClientCallback {
}
public void send(Data data) {
System.out.println("[MAINGAME] sending data " + data);
this.client.writeData(data);
}
@@ -416,7 +415,7 @@ public class MainGame extends Game implements ClientCallback {
}
} else if (data instanceof DamageData) {
DamageData damageData = (DamageData) data;
team.get(damageData.getName()).damage(10);
team.get(damageData.getName()).damage(100);
} else if (data instanceof TurnData) {
this.playersTurn = !this.playersTurn;
}