Skip to content

Commit

Permalink
Bugfix: Blaze modifier didn't stack its levels properly. Broke after …
Browse files Browse the repository at this point in the history
…1st level because it only checked for it's first maximum.
  • Loading branch information
bonii-xx committed Jul 30, 2014
1 parent 2089804 commit f6877b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tconstruct/modifiers/tools/ModBlaze.java
Expand Up @@ -51,7 +51,7 @@ public void modify (ItemStack[] input, ItemStack tool)
if (tags.hasKey(key))
{
int[] keyPair = tags.getIntArray(key);
if (keyPair[0] == max)
if (keyPair[0] % max == 0)
{
keyPair[0] += increase;
keyPair[1] += max;
Expand Down

0 comments on commit f6877b5

Please sign in to comment.