File tree Expand file tree Collapse file tree
src/main/java/dsns/betterhud/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public ModSettings(String orientation) {
3737 this ();
3838 Setting orientationSetting = settings .get ("Orientation" );
3939 if (orientationSetting != null ) {
40- orientationSetting .setValue (orientation );
40+ orientationSetting .setDefaultValue (orientation );
4141 }
4242 }
4343
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ public class Setting {
44
55 private String value ;
66 private String type ;
7- private final String defaultValue ;
7+ private String defaultValue ;
88 private String [] possibleValues ;
99
1010 public Setting (String value , String type , String [] possibleValues ) {
@@ -95,4 +95,8 @@ public String getDefaultValue() {
9595 public void setValue (String value ) {
9696 this .value = value ;
9797 }
98+
99+ public void setDefaultValue (String value ) {
100+ this .defaultValue = value ;
101+ }
98102}
You can’t perform that action at this time.
0 commit comments