Moved array designators to the type.

This commit is contained in:
MobiusDevelopment
2021-12-06 02:26:10 +00:00
parent a4a2115b81
commit b5c2af483e
99 changed files with 101 additions and 101 deletions

View File

@@ -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])));
}

View File

@@ -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,