Skip to content

Commit ba12bd6

Browse files
committed
Handle either slash
1 parent f22ef91 commit ba12bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/main/java/org/embeddedt/blacksmith/impl/transformers/MixinServiceLaunchWrapperTransformer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public static boolean isNeeded() {
2525
} catch (NumberFormatException e) {
2626
return false;
2727
}
28-
return major >= 24 && System.getProperty("java.class.path").contains("cpw/mods/modlauncher");
28+
return major >= 24 && System.getProperty("java.class.path").replace('\\', '/').contains("cpw/mods/modlauncher");
2929
}
3030

3131
@Override

0 commit comments

Comments
 (0)