Moved array designators to the type.
This commit is contained in:
@@ -182,7 +182,7 @@ public class Lindvior extends AbstractNpcAI
|
||||
{21170106, 21170107},
|
||||
{21170108, 21170109}
|
||||
};
|
||||
protected final int _chargedValues[] = new int[] {0, 0, 0, 0};
|
||||
protected final int[] _chargedValues = new int[] {0, 0, 0, 0};
|
||||
private static final int[] LINDVIOR_SERVITOR = {25895, 25896, 25897, 29242, 29241, 29243};
|
||||
// @formatter:on
|
||||
private static final NpcStringId[] GUARD_MSG =
|
||||
|
@@ -376,7 +376,7 @@ public class Minigame extends AbstractNpcAI
|
||||
private boolean _started;
|
||||
private int _attemptNumber;
|
||||
private int _currentPot;
|
||||
private final int _order[];
|
||||
private final int[] _order;
|
||||
|
||||
public MinigameRoom(Npc[] burners, Npc manager)
|
||||
{
|
||||
|
@@ -30,7 +30,7 @@ public class Q00137_TempleChampionPart1 extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int SYLVAIN = 30070;
|
||||
private static final int MOBS[] =
|
||||
private static final int[] MOBS =
|
||||
{
|
||||
20147, // Hobgoblin
|
||||
20203, // Dion Grizzly
|
||||
|
@@ -3162,7 +3162,7 @@ public class Config
|
||||
COMMUNITY_AVAILABLE_TELEPORTS = new HashMap<>(availableTeleports.length);
|
||||
for (String s : availableTeleports)
|
||||
{
|
||||
final String splitInfo[] = s.split(",");
|
||||
final String[] splitInfo = s.split(",");
|
||||
COMMUNITY_AVAILABLE_TELEPORTS.put(splitInfo[0], new Location(Integer.parseInt(splitInfo[1]), Integer.parseInt(splitInfo[2]), Integer.parseInt(splitInfo[3])));
|
||||
}
|
||||
|
||||
|
@@ -68,7 +68,7 @@ public class ItemCommissionManager
|
||||
private static final long MIN_REGISTRATION_AND_SALE_FEE = 1000;
|
||||
private static final double REGISTRATION_FEE_PER_DAY = 0.0001;
|
||||
private static final double SALE_FEE_PER_DAY = 0.005;
|
||||
private static final int DURATION[] =
|
||||
private static final int[] DURATION =
|
||||
{
|
||||
1,
|
||||
3,
|
||||
|
@@ -36,7 +36,7 @@ import org.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
|
||||
public class RaceManager extends Npc
|
||||
{
|
||||
protected static final int TICKET_PRICES[] =
|
||||
protected static final int[] TICKET_PRICES =
|
||||
{
|
||||
100,
|
||||
500,
|
||||
|
Reference in New Issue
Block a user