mirror of
https://github.com/kami-blue/client
synced 2025-03-11 08:47:35 +00:00
Add in overrides to getValueAsString/setValueFromString so string settings make sense (#448)
This was probably arguably an oversight on my part last time I went near this code. Sorry! Co-authored-by: 20kdc <asdd2808@gmail.com>
This commit is contained in:
parent
a0b5ab9628
commit
8ee42e0ae7
@ -22,4 +22,13 @@ public class StringSetting extends Setting<String> {
|
||||
return converter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getValueAsString() {
|
||||
return getValue();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setValueFromString(String s) {
|
||||
setValue(s);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user