agility plugin: use immutableset
This commit is contained in:
@@ -24,13 +24,13 @@
|
|||||||
*/
|
*/
|
||||||
package net.runelite.client.plugins.agility;
|
package net.runelite.client.plugins.agility;
|
||||||
|
|
||||||
import com.google.common.collect.Sets;
|
import com.google.common.collect.ImmutableSet;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import static net.runelite.api.ObjectID.*;
|
import static net.runelite.api.ObjectID.*;
|
||||||
|
|
||||||
public class Obstacles
|
public class Obstacles
|
||||||
{
|
{
|
||||||
public static final Set<Integer> COURSE_OBSTACLE_IDS = Sets.newHashSet(
|
public static final Set<Integer> COURSE_OBSTACLE_IDS = ImmutableSet.of(
|
||||||
// Gnome
|
// Gnome
|
||||||
OBSTACLE_NET_23134, TREE_BRANCH_23559, TREE_BRANCH_23560, OBSTACLE_NET_23135, OBSTACLE_PIPE_23138,
|
OBSTACLE_NET_23134, TREE_BRANCH_23559, TREE_BRANCH_23560, OBSTACLE_NET_23135, OBSTACLE_PIPE_23138,
|
||||||
OBSTACLE_PIPE_23139, LOG_BALANCE_23145, BALANCING_ROPE_23557,
|
OBSTACLE_PIPE_23139, LOG_BALANCE_23145, BALANCING_ROPE_23557,
|
||||||
@@ -76,7 +76,7 @@ public class Obstacles
|
|||||||
GAP_11406, GAP_11429, GAP_11430, STEEP_ROOF, GAP_11630, PLANK_11631, WOODEN_BEAMS
|
GAP_11406, GAP_11429, GAP_11430, STEEP_ROOF, GAP_11630, PLANK_11631, WOODEN_BEAMS
|
||||||
);
|
);
|
||||||
|
|
||||||
public static final Set<Integer> SHORTCUT_OBSTACLE_IDS = Sets.newHashSet(
|
public static final Set<Integer> SHORTCUT_OBSTACLE_IDS = ImmutableSet.of(
|
||||||
// Grand Exchange
|
// Grand Exchange
|
||||||
UNDERWALL_TUNNEL_16529, UNDERWALL_TUNNEL_16530,
|
UNDERWALL_TUNNEL_16529, UNDERWALL_TUNNEL_16530,
|
||||||
// South Varrock
|
// South Varrock
|
||||||
@@ -178,7 +178,7 @@ public class Obstacles
|
|||||||
PILLAR_31561
|
PILLAR_31561
|
||||||
);
|
);
|
||||||
|
|
||||||
public static final Set<Integer> TRAP_OBSTACLE_IDS = Sets.newHashSet(
|
public static final Set<Integer> TRAP_OBSTACLE_IDS = ImmutableSet.of(
|
||||||
// Agility pyramid
|
// Agility pyramid
|
||||||
NULL_3550, NULL_10872, NULL_10873
|
NULL_3550, NULL_10872, NULL_10873
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user