Skip to content
This repository was archived by the owner on Dec 22, 2019. It is now read-only.

Commit d0181d7

Browse files
committed
Fix
1 parent 53e6dbc commit d0181d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/therandomlabs/randomlib/CompatForgeRegistry.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ public class CompatForgeRegistry<K> {
1212
TRLUtils.MC_VERSION_NUMBER > 11 ? IForgeRegistry.class :
1313
TRLUtils.getClass("net.minecraftforge.fml.common.registry.IForgeRegistry");
1414

15-
private static final Method FIND_REGISTRY = TRLUtils.MC_VERSION_NUMBER > 11 ? null :
16-
TRLUtils.findMethod(GameRegistry.class, "findRegistry", CompatForgeRegistryEntry.CLASS);
15+
private static final Method FIND_REGISTRY = TRLUtils.MC_VERSION_NUMBER > 11 ?
16+
null : TRLUtils.findMethod(GameRegistry.class, "findRegistry", Class.class);
1717

1818
private static final Method GET_VALUE = TRLUtils.MC_VERSION_NUMBER > 11 ?
1919
null : TRLUtils.findMethod(CLASS, "getValue", ResourceLocation.class);

0 commit comments

Comments
 (0)