From cd0651e2be1805ca53a0862febb374cfa22175ce Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Thu, 5 Sep 2024 16:05:41 +0200 Subject: [PATCH] rename confusing name --- src/main/java/eu/m724/chatapi/source/option/Options.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/m724/chatapi/source/option/Options.java b/src/main/java/eu/m724/chatapi/source/option/Options.java index ec64ee1..604024c 100644 --- a/src/main/java/eu/m724/chatapi/source/option/Options.java +++ b/src/main/java/eu/m724/chatapi/source/option/Options.java @@ -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)); }