Hopefully fixed java 8 Optional errors

This commit is contained in:
Jared committed 2016-10-30 22:35:44 +02:00
1 parent c6643a65d9
commit e20b304083
6 files changed
+138 -153

No files matched your search

@@ -70,10 +70,6 @@ public class IngredientAnyAdvanced implements IIngredient {
@Override
public boolean matches(IItemStack item) {
// TODO: what is the point of this?
if (!item.matches(item))
return false;
for (IItemCondition condition : conditions) {
if (!condition.matches(item))
return false;
@@ -84,10 +80,6 @@ public class IngredientAnyAdvanced implements IIngredient {
@Override
public boolean matchesExact(IItemStack item) {
// TODO: what is the point of this?
if (!item.matchesExact(item))
return false;
for (IItemCondition condition : conditions) {
if (!condition.matches(item))
return false;