mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
Expand the AwfulHacks series
This commit is contained in:
+2
-2
@@ -11,8 +11,8 @@ import java.net.URL;
|
||||
*
|
||||
* This will likely not work on Gson because FabricLoader has some special logic related to Gson.
|
||||
*/
|
||||
public final class PreLaunchHacks {
|
||||
private PreLaunchHacks() {}
|
||||
public final class AwfulQuiltHacks {
|
||||
private AwfulQuiltHacks() {}
|
||||
|
||||
private static final ClassLoader KNOT_CLASSLOADER = Thread.currentThread().getContextClassLoader();
|
||||
private static final Method ADD_URL_METHOD;
|
||||
@@ -13,7 +13,7 @@ public class QuiltPreLaunchEntryPoint implements PreLaunchEntrypoint {
|
||||
public void onPreLaunch(ModContainer mod) {
|
||||
if (QuiltLoader.isDevelopmentEnvironment()) {
|
||||
try {
|
||||
PreLaunchHacks.hackilyLoadForMixin(BrigadierMappingBuilder.class.getName());
|
||||
AwfulQuiltHacks.hackilyLoadForMixin(BrigadierMappingBuilder.class.getName());
|
||||
} catch(ClassNotFoundException | InvocationTargetException | IllegalAccessException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user