mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Recipe work. No longer a registry. OreDictionary related code removed in favor of Tags. Started moving some OreDict items to tags.
Added code to RuntimeEnumExtender to return existing enum values with the same name if they exist instead of creating more.
This commit is contained in:
1 parent
e3a931bf96
commit
c77d00efe4
49 files changed
+893
-786
No files matched your search
@@ -23,8 +23,7 @@ import java.util.BitSet;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.Queue;
|
||||
|
||||
import com.google.common.base.Predicate;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
public class RecipeMatcher
|
||||
{
|
||||
@@ -61,7 +60,7 @@ public class RecipeMatcher
|
||||
if (data.get(y))
|
||||
continue;
|
||||
|
||||
if (test.apply(inputs.get(y)))
|
||||
if (test.test(inputs.get(y)))
|
||||
{
|
||||
data.set(offset + y);
|
||||
matched++;
|
||||
|
||||
Reference in new issue
Block a user