mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
quick fix : Unnecessary 'continue' statement
This commit is contained in:
1 parent
379d0cb168
commit
67c8b53cf1
2 files changed
+2
-4
No files matched your search
@@ -54,8 +54,7 @@ public abstract class ArmorModTypeFilter extends ArmorMod {
|
||||
public int matchingAmount(ItemStack[] input) {
|
||||
int amount = 0;
|
||||
for (ItemStack inputStack : input) {
|
||||
if (inputStack == null) continue;
|
||||
else {
|
||||
if (inputStack != null) {
|
||||
for (int iter = 0; iter < stacks.size(); iter++) {
|
||||
ItemStack stack = (ItemStack) stacks.get(iter);
|
||||
if (stack.getItemDamage() == Short.MAX_VALUE) {
|
||||
|
||||
@@ -50,8 +50,7 @@ public abstract class ItemModTypeFilter extends ItemModifier {
|
||||
public int matchingAmount(ItemStack[] input) {
|
||||
int amount = 0;
|
||||
for (ItemStack inputStack : input) {
|
||||
if (inputStack == null) continue;
|
||||
else {
|
||||
if (inputStack != null) {
|
||||
for (int iter = 0; iter < stacks.size(); iter++) {
|
||||
ItemStack stack = (ItemStack) stacks.get(iter);
|
||||
if (stack.getItemDamage() == Short.MAX_VALUE) {
|
||||
|
||||
Reference in new issue
Block a user