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

@ -56,13 +56,13 @@ public class AdminDelete implements IAdminCommandHandler
// TODO: add possibility to delete any L2Object (except L2PcInstance)
private void handleDelete(L2PcInstance activeChar)
{
L2Object obj = activeChar.getTarget();
final L2Object obj = activeChar.getTarget();
if (obj instanceof L2Npc)
{
L2Npc target = (L2Npc) obj;
final L2Npc target = (L2Npc) obj;
target.deleteMe();
L2Spawn spawn = target.getSpawn();
final L2Spawn spawn = target.getSpawn();
if (spawn != null)
{
spawn.stopRespawn();