Method isAutoAttackable should consider all war declarations.
This commit is contained in:
		| @@ -8206,7 +8206,7 @@ public class PlayerInstance extends Playable | ||||
| 				if ((attackerClan != null) && (getWantsPeace() == 0) && (attackerPlayer.getWantsPeace() == 0) && !isAcademyMember()) | ||||
| 				{ | ||||
| 					final ClanWar war = attackerClan.getWarWith(getClanId()); | ||||
| 					if ((war != null) && (war.getState() == ClanWarState.MUTUAL)) | ||||
| 					if ((war != null) && ((war.getState() == ClanWarState.MUTUAL) || (((war.getState() == ClanWarState.BLOOD_DECLARATION) || (war.getState() == ClanWarState.DECLARATION)) && (war.getAttackerClanId() == attackerClan.getId())))) | ||||
| 					{ | ||||
| 						return true; | ||||
| 					} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment