Code improvements.
This commit is contained in:
@@ -105,12 +105,7 @@ public class BehindArea implements ITargetTypeHandler
|
||||
}
|
||||
}
|
||||
|
||||
if (targetList.isEmpty())
|
||||
{
|
||||
return EMPTY_TARGET_LIST;
|
||||
}
|
||||
|
||||
return targetList.toArray(new L2Character[targetList.size()]);
|
||||
return targetList.isEmpty() ? EMPTY_TARGET_LIST : targetList.toArray(new L2Character[targetList.size()]);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user