Update to build 32.0.106 for 1.16.1 Forge, fix break from removed API

This commit is contained in:
Mike Primm 2020-08-04 14:30:54 -05:00
parent f6cbc69d82
commit fef91bd995
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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