Added missing final modifiers.

This commit is contained in:
MobiusDev
2015-12-26 12:03:36 +00:00
parent cc92e5d062
commit e0d681a17e
974 changed files with 5919 additions and 5917 deletions

View File

@@ -49,7 +49,7 @@ public class ConditionPlayerCanTakeCastle extends Condition
return false;
}
Castle castle = CastleManager.getInstance().getCastle(player);
final Castle castle = CastleManager.getInstance().getCastle(player);
SystemMessage sm;
if ((castle == null) || (castle.getResidenceId() <= 0) || !castle.getSiege().isInProgress() || (castle.getSiege().getAttackerClan(player.getClan()) == null))
{