Make the default min value of ranges 0

This commit is contained in:
Trevor Guidry
2019-01-06 13:57:29 -05:00
parent a7946a3769
commit e2e6ab588d
2 changed files with 1 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ import java.lang.annotation.Target;
@Documented
public @interface Range
{
int min() default Integer.MIN_VALUE;
int min() default 0;
int max() default Integer.MAX_VALUE;
}

View File

@@ -35,7 +35,6 @@ import static net.runelite.client.plugins.gpu.GpuPlugin.MAX_DISTANCE;
public interface GpuPluginConfig extends Config
{
@Range(
min = 0,
max = MAX_DISTANCE
)
@ConfigItem(