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 783f7aa30d
commit a94bf8ffe5
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ project.archivesBaseName = "${project.archivesBaseName}-forge-1.16.1"
dependencies { dependencies {
compile project(path: ":DynmapCore", configuration: "shadow") 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 processResources

View file

@ -109,7 +109,7 @@ public class DynmapMod
server = event.getServer(); server = event.getServer();
if(plugin == null) if(plugin == null)
plugin = proxy.startServer(server); plugin = proxy.startServer(server);
plugin.onStarting(event.getCommandDispatcher()); plugin.onStarting(server.getCommandManager().getDispatcher());
} }
@SubscribeEvent @SubscribeEvent