rename confusing name

This commit is contained in:
Minecon724 2024-09-05 16:05:41 +02:00
parent b7f815658d
commit cd0651e2be
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -120,7 +120,7 @@ public class Options {
* @throws ClassCastException if type is wrong
* @throws NoSuchElementException if no option with this id
*/
public void setStringValue(String id, String text) {
public void setValueFromString(String id, String text) {
Option<?> option = getOption(id);
option.setValue(option.fromString(text));
}