Moved array designators to the type.
This commit is contained in:
@@ -2755,7 +2755,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])));
|
||||
}
|
||||
|
||||
|
@@ -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