package com.publicuhc.uhcaddons.scatter;

import com.publicuhc.ultrahardcore.api.Command;
import com.publicuhc.ultrahardcore.framework.shaded.inject.AbstractModule;
import com.publicuhc.ultrahardcore.framework.shaded.inject.multibindings.Multibinder;

/**
 * Project: UHC-Addons
 * Package: com.publicuhc.uhcaddons.scatter
 * Created by Eluinhost on 13:05 25/08/2014 2014.
 */
public class ScatterModule extends AbstractModule {
    @Override
    protected void configure() {
        Multibinder<Command> binder = Multibinder.newSetBinder(binder(), Command.class);
        binder.addBinding().to(ScatterCommand.class);
    }
}

@@ -122,45 +122,76 @@
 ore.
-framework.shaded.inject.AbstractModul
+api.UHCAddonModule;%0Aimport com.publicuhc.ultrahardcore.api.UHCFeatur
 e;%0Ai
@@ -280,133 +280,8 @@
 r;%0A%0A
-/**%0A * Project: UHC-Addons%0A * Package: com.publicuhc.uhcaddons.scatter%0A * Created by Eluinhost on 13:05 25/08/2014 2014.%0A */%0A
 publ
@@ -315,16 +315,16 @@
 nds 
-Abstract
+UHCAddon
 Modu
@@ -365,110 +365,168 @@
 oid 
-configure() %7B%0A        Multibinder%3CCommand%3E binder = Multibinder.newSetBinder(
+registerFeatures(Multibinder%3CUHCFeature%3E binder) %7B%0A        //no features%0A    %7D%0A%0A    @Override%0A    protected void registerCommands(Multi
 binder
-(), 
+%3C
 Command
-.class);
+%3E binder) %7B
 %0A   

use the new UHCModule