fix customchat not saving

This commit is contained in:
Bella 2020-03-07 14:44:37 -05:00
parent 51f3c4caa3
commit 8f595d1710
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class CustomChat extends Module {
public Setting<TextMode> textMode = register(Settings.e("Message", TextMode.ONTOP));
private Setting<DecoMode> decoMode = register(Settings.e("Separator", DecoMode.NONE));
private Setting<Boolean> commands = register(Settings.b("Commands", false));
public Setting<String> customText = register(Settings.stringBuilder("Custom Text").withValue("Use &7" + Command.getCommandPrefix() + "&rcustomchat to modify this").withConsumer((old, value) -> {}));
public Setting<String> customText = register(Settings.stringBuilder("Custom Text").withValue("Use &7" + Command.getCommandPrefix() + "&rcustomchat to modify this").withConsumer((old, value) -> {}).build());
public enum TextMode {
NAME, ONTOP, WEBSITE, JAPANESE, CUSTOM