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

@@ -130,7 +130,7 @@ public final class Wedding extends AbstractNpcAI
// Accept the wedding request
player.setMarryAccepted(true);
Couple couple = CoupleManager.getInstance().getCouple(player.getCoupleId());
final Couple couple = CoupleManager.getInstance().getCouple(player.getCoupleId());
couple.marry();
// Messages to the couple
@@ -146,7 +146,7 @@ public final class Wedding extends AbstractNpcAI
partner.broadcastPacket(new MagicSkillUse(partner, partner, 2230, 1, 1, 0));
// Fireworks
Skill skill = CommonSkill.LARGE_FIREWORK.getSkill();
final Skill skill = CommonSkill.LARGE_FIREWORK.getSkill();
if (skill != null)
{
player.doCast(skill);