Search in sources :

Example 1 with HomeHandler

use of io.github.nucleuspowered.nucleus.modules.home.handlers.HomeHandler in project Nucleus by NucleusPowered.

the class HomeModule method performPreTasks.

@Override
protected void performPreTasks() throws Exception {
    super.performPreTasks();
    HomeHandler homeHandler = new HomeHandler();
    plugin.getInternalServiceManager().registerService(HomeHandler.class, homeHandler);
    Sponge.getServiceManager().setProvider(plugin, NucleusHomeService.class, homeHandler);
}
Also used : HomeHandler(io.github.nucleuspowered.nucleus.modules.home.handlers.HomeHandler)

Aggregations

HomeHandler (io.github.nucleuspowered.nucleus.modules.home.handlers.HomeHandler)1