* Curse of Opulence - Fixed a bug that could create game error (index out of bounds).

This commit is contained in:
LevelX2 2017-08-17 20:35:36 +02:00
parent 9ea66fe3f9
commit 0affb45264
2 changed files with 18 additions and 13 deletions

View file

@ -118,6 +118,12 @@ public class Combat implements Serializable, Copyable<Combat> {
return blockingGroups.values();
}
/**
* Get all possible defender (players and plainwalkers) That does not mean
* neccessarly mean that they are really attacked
*
* @return
*/
public Set<UUID> getDefenders() {
return defenders;
}