Remove Hull from default value
Signed-off-by: PKLite <stonewall@pklite.xyz> (cherry picked from commit 5290f2e2630fe357180a756546acac088c985165)
This commit is contained in:
@@ -35,6 +35,8 @@ import net.runelite.client.config.Stub;
|
|||||||
@ConfigGroup("playerindicators")
|
@ConfigGroup("playerindicators")
|
||||||
public interface PlayerIndicatorsConfig extends Config
|
public interface PlayerIndicatorsConfig extends Config
|
||||||
{
|
{
|
||||||
|
EnumSet<PlayerIndicationLocation> defaultPlayerIndicatorMode = EnumSet.complementOf(EnumSet.of(PlayerIndicationLocation.HULL));
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 0,
|
position = 0,
|
||||||
keyName = "drawOwnName",
|
keyName = "drawOwnName",
|
||||||
@@ -69,7 +71,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> selfIndicatorModes()
|
default EnumSet<PlayerIndicationLocation> selfIndicatorModes()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
@@ -107,7 +109,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> friendIndicatorMode()
|
default EnumSet<PlayerIndicationLocation> friendIndicatorMode()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
@@ -145,7 +147,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> clanIndicatorModes()
|
default EnumSet<PlayerIndicationLocation> clanIndicatorModes()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
@@ -195,7 +197,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> teamIndicatorModes()
|
default EnumSet<PlayerIndicationLocation> teamIndicatorModes()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
@@ -233,7 +235,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> targetsIndicatorModes()
|
default EnumSet<PlayerIndicationLocation> targetsIndicatorModes()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
@@ -367,7 +369,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> otherIndicatorModes()
|
default EnumSet<PlayerIndicationLocation> otherIndicatorModes()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -484,7 +486,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> callerHighlightOptions()
|
default EnumSet<PlayerIndicationLocation> callerHighlightOptions()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
@@ -536,7 +538,7 @@ public interface PlayerIndicatorsConfig extends Config
|
|||||||
)
|
)
|
||||||
default EnumSet<PlayerIndicationLocation> callerTargetHighlightOptions()
|
default EnumSet<PlayerIndicationLocation> callerTargetHighlightOptions()
|
||||||
{
|
{
|
||||||
return EnumSet.allOf(PlayerIndicationLocation.class);
|
return defaultPlayerIndicatorMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user