Skip to content

Commit

Permalink
Make BooleanAttribute public (#1295)
Browse files Browse the repository at this point in the history
  • Loading branch information
TelepathicGrunt authored Jul 12, 2024
1 parent a513092 commit ca2abd5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @apiNote Use of other operations and/or values will trigger undefined behavior, where no guarantees can be made if the attribute will be enabled or not.
*/
public class BooleanAttribute extends Attribute {
protected BooleanAttribute(String descriptionId, boolean defaultValue) {
public BooleanAttribute(String descriptionId, boolean defaultValue) {
super(descriptionId, defaultValue ? 1 : 0);
}

Expand Down

0 comments on commit ca2abd5

Please sign in to comment.