Make the default min value of ranges 0
This commit is contained in:
@@ -38,7 +38,7 @@ import java.lang.annotation.Target;
|
|||||||
@Documented
|
@Documented
|
||||||
public @interface Range
|
public @interface Range
|
||||||
{
|
{
|
||||||
int min() default Integer.MIN_VALUE;
|
int min() default 0;
|
||||||
|
|
||||||
int max() default Integer.MAX_VALUE;
|
int max() default Integer.MAX_VALUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ import static net.runelite.client.plugins.gpu.GpuPlugin.MAX_DISTANCE;
|
|||||||
public interface GpuPluginConfig extends Config
|
public interface GpuPluginConfig extends Config
|
||||||
{
|
{
|
||||||
@Range(
|
@Range(
|
||||||
min = 0,
|
|
||||||
max = MAX_DISTANCE
|
max = MAX_DISTANCE
|
||||||
)
|
)
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
|
|||||||
Reference in New Issue
Block a user