diff --git a/forge-1.16.1/build.gradle b/forge-1.16.1/build.gradle index 5db6a2c8..1c86b34c 100644 --- a/forge-1.16.1/build.gradle +++ b/forge-1.16.1/build.gradle @@ -30,7 +30,7 @@ project.archivesBaseName = "${project.archivesBaseName}-forge-1.16.1" dependencies { compile project(path: ":DynmapCore", configuration: "shadow") - minecraft 'net.minecraftforge:forge:1.16.1-32.0.38' + minecraft 'net.minecraftforge:forge:1.16.1-32.0.106' } processResources diff --git a/forge-1.16.1/src/main/java/org/dynmap/forge_1_16_1/DynmapMod.java b/forge-1.16.1/src/main/java/org/dynmap/forge_1_16_1/DynmapMod.java index 1e5dd03e..29b43eb3 100644 --- a/forge-1.16.1/src/main/java/org/dynmap/forge_1_16_1/DynmapMod.java +++ b/forge-1.16.1/src/main/java/org/dynmap/forge_1_16_1/DynmapMod.java @@ -109,7 +109,7 @@ public class DynmapMod server = event.getServer(); if(plugin == null) plugin = proxy.startServer(server); - plugin.onStarting(event.getCommandDispatcher()); + plugin.onStarting(server.getCommandManager().getDispatcher()); } @SubscribeEvent