WorldType: Fix HIGH_RISK world type name
This world type is not specifically a PVP world type; at the time of this commit, world 365 is a non-PVP high-risk world, where the world is the same as a regular members' world, except that the Protect Item prayer is disabled.
This commit is contained in:
@@ -409,7 +409,7 @@ public class DiscordPlugin extends Plugin
|
||||
if (worldType.contains(WorldType.SEASONAL_DEADMAN) ||
|
||||
worldType.contains(WorldType.DEADMAN) ||
|
||||
worldType.contains(WorldType.PVP) ||
|
||||
worldType.contains(WorldType.PVP_HIGH_RISK))
|
||||
worldType.contains(WorldType.HIGH_RISK))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -554,7 +554,7 @@ public class WorldHopperPlugin extends Plugin
|
||||
if (config.quickhopOutOfDanger())
|
||||
{
|
||||
currentWorldTypes.remove(WorldType.PVP);
|
||||
currentWorldTypes.remove(WorldType.PVP_HIGH_RISK);
|
||||
currentWorldTypes.remove(WorldType.HIGH_RISK);
|
||||
}
|
||||
// Don't regard these worlds as a type that must be hopped between
|
||||
currentWorldTypes.remove(WorldType.BOUNTY);
|
||||
|
||||
@@ -245,7 +245,7 @@ class WorldTableRow extends JPanel
|
||||
return;
|
||||
}
|
||||
else if (world.getTypes().contains(WorldType.PVP)
|
||||
|| world.getTypes().contains(WorldType.PVP_HIGH_RISK)
|
||||
|| world.getTypes().contains(WorldType.HIGH_RISK)
|
||||
|| world.getTypes().contains(WorldType.DEADMAN)
|
||||
|| world.getTypes().contains(WorldType.SEASONAL_DEADMAN))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user