Permalink
Browse files

Merge pull request #4242 from grimreaper/eax/set95023d788a3b7ecfc4e88…

…f7dd6a57df7217b9fdb

[PlayerCharacter] found is always true
  • Loading branch information...
karianna committed Sep 14, 2018
2 parents 162640f + 2b85ad5 commit c083d2d42da7616e95201535cb84c04caf93fb9b
Showing with 2 additions and 3 deletions.
  1. +2 −3 code/src/java/pcgen/core/PlayerCharacter.java
@@ -2280,16 +2280,15 @@ public Float getVariable(final String variableString, final boolean isMax)
lastVariable = variableString;
value = getVariableValue(variableString, Constants.EMPTY_STRING);
includeBonus = false;
found = true;
lastVariable = null;
}
if (found && includeBonus)
if (includeBonus)
{
value += getTotalBonusTo("VAR", variableString);
}
return new Float(value);
return (float) value;
}
public void setPointBuyPoints(final int argPointBuyPoints)

0 comments on commit c083d2d

Please sign in to comment.