mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-28 07:35:40 +00:00
Hopefully fixed java 8 Optional errors
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user