Add default impl to IConfigElement#getValidValuesDisplay

This commit is contained in:
tterrag1098 committed 2019-01-19 16:40:49 -05:00
1 parent da7c299f7e
commit d5ff207fab
1 file changed
+4 -1
@@ -176,7 +176,10 @@ public interface IConfigElement
* [Property] Gets a String array of the versions of this property's valid values that will display in the config GUI.
* This is generally used for String properties to allow the user to select a value from a list of valid values.
*/
String[] getValidValuesDisplay();
default String[] getValidValuesDisplay()
{
return null;
}
/**
* [Property] Gets this property's minimum value.