Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Commit

Permalink
Install MinecraftServerModule from minecraft-api
Browse files Browse the repository at this point in the history
  • Loading branch information
jedediah committed Feb 6, 2017
1 parent 811d5b1 commit 9d499a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/main/java/net/md_5/bungee/api/ProxyModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
import tc.oc.minecraft.api.command.ConsoleCommandSender;
import tc.oc.minecraft.api.plugin.PluginFinder;
import tc.oc.minecraft.api.server.LocalServer;
import tc.oc.minecraft.api.server.MinecraftServerModule;

public class ProxyModule extends SingletonModule {

@Override
protected void configure() {
install(new MinecraftServerModule());

bind(tc.oc.minecraft.api.server.Server.class).to(LocalServer.class);
bind(LocalServer.class).to(ProxyServer.class);
bind(PluginFinder.class).to(PluginManager.class);
Expand Down

0 comments on commit 9d499a9

Please sign in to comment.