Some code formatting.
This commit is contained in:
@@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.network.serverpackets.NpcHtmlMessage;
|
||||
public class L2StaticObjectInstanceAction implements IActionHandler
|
||||
{
|
||||
@Override
|
||||
public boolean action(final L2PcInstance activeChar, final L2Object target, final boolean interact)
|
||||
public boolean action(L2PcInstance activeChar, final L2Object target, final boolean interact)
|
||||
{
|
||||
final L2StaticObjectInstance staticObject = (L2StaticObjectInstance) target;
|
||||
if (staticObject.getType() < 0)
|
||||
|
@@ -393,7 +393,7 @@ public class NpcViewMod implements IBypassHandler
|
||||
* @param sb
|
||||
* @param dropItem
|
||||
*/
|
||||
private static void addGeneralDropItem(L2PcInstance activeChar, L2Npc npc, final DecimalFormat amountFormat, final DecimalFormat chanceFormat, final StringBuilder sb, final GeneralDropItem dropItem)
|
||||
private static void addGeneralDropItem(L2PcInstance activeChar, L2Npc npc, DecimalFormat amountFormat, DecimalFormat chanceFormat, StringBuilder sb, GeneralDropItem dropItem)
|
||||
{
|
||||
final L2Item item = ItemTable.getInstance().getTemplate(dropItem.getItemId());
|
||||
sb.append("<table width=332 cellpadding=2 cellspacing=0 background=\"L2UI_CT1.Windows.Windows_DF_TooltipBG\">");
|
||||
|
@@ -155,7 +155,7 @@ public class Observation implements IBypassHandler
|
||||
return false;
|
||||
}
|
||||
|
||||
private static final void doObserve(final L2PcInstance player, final L2Npc npc, final Location pos, final long cost)
|
||||
private static final void doObserve(L2PcInstance player, L2Npc npc, Location pos, long cost)
|
||||
{
|
||||
if (player.reduceAdena("Broadcast", cost, npc, true))
|
||||
{
|
||||
|
@@ -256,7 +256,7 @@ public class QuestLink implements IBypassHandler
|
||||
* @param player the L2PcInstance that talk with the {@code npc}.
|
||||
* @param npc the L2NpcInstance that chats with the {@code player}.
|
||||
*/
|
||||
private static void showQuestWindow(final L2PcInstance player, L2Npc npc)
|
||||
private static void showQuestWindow(L2PcInstance player, L2Npc npc)
|
||||
{
|
||||
//@formatter:off
|
||||
final Set<Quest> quests = npc.getListeners(EventType.ON_NPC_TALK).stream()
|
||||
|
@@ -228,7 +228,7 @@ public final class Fishing extends AbstractEffect
|
||||
* @param waterZone the water zone
|
||||
* @return the bait z or {@link Integer#MIN_VALUE} when you cannot fish here
|
||||
*/
|
||||
private static int computeBaitZ(final L2PcInstance player, final int baitX, final int baitY, final L2FishingZone fishingZone, final L2WaterZone waterZone)
|
||||
private static int computeBaitZ(L2PcInstance player, int baitX, int baitY, L2FishingZone fishingZone, L2WaterZone waterZone)
|
||||
{
|
||||
if ((fishingZone == null))
|
||||
{
|
||||
|
@@ -67,7 +67,7 @@ public final class MarkRetriever extends AbstractEffect
|
||||
double damage = Formulas.calcMagicDam(activeChar, effected, info.getSkill(), shld, sps, bss, mcrit);
|
||||
int count = 0;
|
||||
|
||||
List<BuffInfo> effects = effected.getEffectList().getEffects();
|
||||
final List<BuffInfo> effects = effected.getEffectList().getEffects();
|
||||
for (BuffInfo buff : effects)
|
||||
{
|
||||
if ((buff.getSkill().getId() == 11259) || (buff.getSkill().getId() == 11261) || (buff.getSkill().getId() == 11262))
|
||||
|
@@ -63,7 +63,7 @@ public class EventItem implements IItemHandler
|
||||
return used;
|
||||
}
|
||||
|
||||
private final boolean useBlockCheckerItem(final L2PcInstance castor, L2ItemInstance item)
|
||||
private final boolean useBlockCheckerItem(L2PcInstance castor, L2ItemInstance item)
|
||||
{
|
||||
final int blockCheckerArena = castor.getBlockCheckerArena();
|
||||
if (blockCheckerArena == -1)
|
||||
|
@@ -120,7 +120,7 @@ public class AreaFriendly implements ITargetTypeHandler
|
||||
|
||||
if (target.isPlayable())
|
||||
{
|
||||
L2PcInstance targetPlayer = target.getActingPlayer();
|
||||
final L2PcInstance targetPlayer = target.getActingPlayer();
|
||||
|
||||
if (activeChar == targetPlayer)
|
||||
{
|
||||
|
Reference in New Issue
Block a user