mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Bugfix: Blaze modifier didn't stack its levels properly. Broke after 1st level because it only checked for it's first maximum.
This commit is contained in:
1 parent
2089804266
commit
f6877b55cb
1 file changed
+1
-1
@@ -51,7 +51,7 @@ public class ModBlaze extends ItemModTypeFilter
|
||||
if (tags.hasKey(key))
|
||||
{
|
||||
int[] keyPair = tags.getIntArray(key);
|
||||
if (keyPair[0] == max)
|
||||
if (keyPair[0] % max == 0)
|
||||
{
|
||||
keyPair[0] += increase;
|
||||
keyPair[1] += max;
|
||||
|
||||
Reference in new issue
Block a user