fix typo
parent
9d8a06386a
commit
610c9b5801
|
@ -35,7 +35,7 @@ public class ChallengeAdapter {
|
||||||
.filter(b -> b instanceof DefenseBuilding)
|
.filter(b -> b instanceof DefenseBuilding)
|
||||||
.map(b -> (DefenseBuilding) b)
|
.map(b -> (DefenseBuilding) b)
|
||||||
.forEach(d -> {
|
.forEach(d -> {
|
||||||
entityDefenseList.add(new ChallengeDefense<>((double) d.getDamage(), (double) b.getHealth()));
|
entityDefenseList.add(new ChallengeDefense<>((double) d.getDamage(), (double) d.getHealth()));
|
||||||
});
|
});
|
||||||
|
|
||||||
return entityDefenseList;
|
return entityDefenseList;
|
||||||
|
|
Loading…
Reference in New Issue