diff --git a/engine/src/main/java/org/terasology/engine/entitySystem/event/AbstractValueModifiableEvent.java b/engine/src/main/java/org/terasology/engine/entitySystem/event/AbstractValueModifiableEvent.java index fd146a2aed2..cf0dd2a640c 100644 --- a/engine/src/main/java/org/terasology/engine/entitySystem/event/AbstractValueModifiableEvent.java +++ b/engine/src/main/java/org/terasology/engine/entitySystem/event/AbstractValueModifiableEvent.java @@ -56,7 +56,7 @@ public void postAdd(float amount) { * result = max(0, ResultValueWithoutCapping) * * - * The result value is guaranteed to be non-negative! + * The result value is guaranteed to be non-negative! */ public float getResultValue() { //TODO(skaldarnar): Based on a discussion in https://github.com/MovingBlocks/Terasology/pull/4063 we may want @@ -76,7 +76,7 @@ public float getResultValue() { * result = ( + Σ ) * Π + Σ * } * - * Negative result values are allowed here. + * Negative result values are allowed here. */ public float getResultValueWithoutCapping() { //TODO: Based on an extended discussion from : https://github.com/MovingBlocks/Terasology/pull/4063 diff --git a/engine/src/main/java/org/terasology/engine/utilities/modifiable/ModifiableValue.java b/engine/src/main/java/org/terasology/engine/utilities/modifiable/ModifiableValue.java index 4da2f950d08..9308500b775 100644 --- a/engine/src/main/java/org/terasology/engine/utilities/modifiable/ModifiableValue.java +++ b/engine/src/main/java/org/terasology/engine/utilities/modifiable/ModifiableValue.java @@ -51,7 +51,7 @@ public ModifiableValue postAdd(float amount) { * The value is calculated based on the following formula: * {@code result = ( + Σ ) * Π + Σ } * - * non-negativity of the value is not ensured and must be checked by the system if needed + * non-negativity of the value is not ensured and must be checked by the system if needed */ public float getValue() { return (baseValue + preModifier) * multiplier + postModifier;