From 2228a32446842ca5c6d0850c10d1f1466fda460b Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 15 Mar 2021 12:18:42 -0700 Subject: [PATCH] Use JGit instead of GrGit now that jcenter is going away. Update missed mapped name in MDK. --- build.gradle | 1 - src/main/java/com/example/examplemod/ExampleMod.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 802dc12..81b2ef9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,6 @@ buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } - jcenter() mavenCentral() } dependencies { diff --git a/src/main/java/com/example/examplemod/ExampleMod.java b/src/main/java/com/example/examplemod/ExampleMod.java index a436462..b96f36a 100644 --- a/src/main/java/com/example/examplemod/ExampleMod.java +++ b/src/main/java/com/example/examplemod/ExampleMod.java @@ -48,7 +48,7 @@ public class ExampleMod private void doClientStuff(final FMLClientSetupEvent event) { // do something that can only be done on the client - LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().gameSettings); + LOGGER.info("Got game settings {}", event.getMinecraftSupplier().get().options); } private void enqueueIMC(final InterModEnqueueEvent event)