mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 21:20:06 +00:00
quick fix : C-style array declaration
This commit is contained in:
1 parent
b28b754ea9
commit
825643a7c4
45 files changed
+47
-47
No files matched your search
@@ -21,7 +21,7 @@ public class ModAntiSpider extends ItemModTypeFilter {
|
||||
|
||||
if (matchingAmount(input) > max) return false;
|
||||
|
||||
int keyPair[] = tags.getIntArray(key);
|
||||
int[] keyPair = tags.getIntArray(key);
|
||||
if (keyPair[0] + matchingAmount(input) <= keyPair[1]) return true;
|
||||
else if (keyPair[0] == keyPair[1]) return tags.getInteger("Modifiers") > 0;
|
||||
else return false;
|
||||
|
||||
Reference in new issue
Block a user