diff options
| author | LexManos <LexManos@gmail.com> | 2021-03-15 12:18:42 -0700 |
|---|---|---|
| committer | LexManos <LexManos@gmail.com> | 2021-03-15 12:18:51 -0700 |
| commit | 2228a32446842ca5c6d0850c10d1f1466fda460b (patch) | |
| tree | a8434028eb49bbe289f8b12f3cea5373acc109d5 | |
| parent | c8bca2c697e724bb74d7a96667146751cc751f3c (diff) | |
Use JGit instead of GrGit now that jcenter is going away.
Update missed mapped name in MDK.
| -rw-r--r-- | build.gradle | 1 | ||||
| -rw-r--r-- | src/main/java/com/example/examplemod/ExampleMod.java | 2 |
2 files changed, 1 insertions, 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) |
