From 66d0ac0232d823ac08d5aff70aa9c672a99dc09c Mon Sep 17 00:00:00 2001 From: SamB440 Date: Mon, 15 Jul 2024 13:59:09 +0100 Subject: [PATCH] Fix default value reset --- .../ac/grim/grimac/utils/data/attribute/ValuedAttribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ac/grim/grimac/utils/data/attribute/ValuedAttribute.java b/src/main/java/ac/grim/grimac/utils/data/attribute/ValuedAttribute.java index 8df685945c..aadacbd11a 100644 --- a/src/main/java/ac/grim/grimac/utils/data/attribute/ValuedAttribute.java +++ b/src/main/java/ac/grim/grimac/utils/data/attribute/ValuedAttribute.java @@ -37,7 +37,7 @@ private ValuedAttribute(Attribute attribute, double defaultValue, double min, do } this.attribute = attribute; - this.defaultValue = value; + this.defaultValue = defaultValue; this.value = defaultValue; this.min = min; this.max = max;