From ca2abd5d7b34a2cbcd2a4fd7ef787cf054c1bed2 Mon Sep 17 00:00:00 2001 From: TelepathicGrunt <40846040+TelepathicGrunt@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:28:53 -0400 Subject: [PATCH] Make BooleanAttribute public (#1295) --- .../java/net/neoforged/neoforge/common/BooleanAttribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/neoforged/neoforge/common/BooleanAttribute.java b/src/main/java/net/neoforged/neoforge/common/BooleanAttribute.java index fe0d4a93bf..453cb3ba31 100644 --- a/src/main/java/net/neoforged/neoforge/common/BooleanAttribute.java +++ b/src/main/java/net/neoforged/neoforge/common/BooleanAttribute.java @@ -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); }