mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Add default impl to IConfigElement#getValidValuesDisplay
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user