Unnecessary initialization
This commit is contained in:
1 parent
1e64108b56
commit
acd1246a87
1 file changed
+1
-1
@@ -39,7 +39,7 @@ public class Behaviour {
|
||||
ActionEntry powerAction, Effect effect, ModifierEntry modifierEntry, Integer rank) {
|
||||
boolean useAdditiveCurve = true;
|
||||
float modifierCurveValue = modifierEntry.compoundCurveType.getValue();
|
||||
float modValue = 0.0f;
|
||||
float modValue;
|
||||
|
||||
if (modifierCurveValue > 0 && modifierCurveValue < .1 &&
|
||||
modifierEntry.min != 0 && modifierEntry.max != 0)
|
||||
|
||||
Reference in new issue
Block a user