Skip to content

Commit

Permalink
dont detect NEOFORGE variant since implementation doesn't use mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolij committed Apr 13, 2024
1 parent de24f53 commit 76b4d07
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions common/src/main/java/dev/nolij/zume/common/Zume.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ else if (
ZUME_VARIANT = ZumeVariant.ARCHAIC_FORGE;
else if (CLASS_LOADER.getResource("net/minecraftforge/oredict/OreDictionary.class") != null)
ZUME_VARIANT = ZumeVariant.VINTAGE_FORGE;
else if (CLASS_LOADER.getResource("net/neoforged/neoforge/common/NeoForge.class") != null)
ZUME_VARIANT = ZumeVariant.NEOFORGE;
else {
String forgeVersion = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public final class ZumeVariant {
public static final String LEGACY = "legacy";
public static final String ARCHAIC_FORGE = "archaic";
public static final String VINTAGE_FORGE = "vintage";
public static final String NEOFORGE = "neoforge";
public static final String LEXFORGE = "lexforge";
public static final String LEXFORGE18 = "lexforge18";
public static final String LEXFORGE16 = "lexforge16";
Expand Down

0 comments on commit 76b4d07

Please sign in to comment.