layo we have setup() for a reason
This commit is contained in:
parent
21683cbe19
commit
4e6ccd102c
2 changed files with 5 additions and 11 deletions
|
@ -5,7 +5,6 @@ import com.baseband.client.event.EventManager;
|
|||
import com.baseband.client.event.FMLEventHandler;
|
||||
import com.baseband.client.gui.GuiRewrite;
|
||||
import com.baseband.client.module.Feature;
|
||||
import com.baseband.client.module.client.Client;
|
||||
import com.baseband.client.util.config.KeyBind;
|
||||
import com.baseband.client.util.ingame.ChatUtil;
|
||||
import com.baseband.client.util.misc.GlobalUtil;
|
||||
|
@ -82,16 +81,6 @@ public class BaseBand {
|
|||
}
|
||||
}
|
||||
|
||||
Client client = getModule(Client.class);
|
||||
if(client != null) {
|
||||
client.setEnabled(true);
|
||||
}
|
||||
|
||||
//One last update for the road, stop the vorp.
|
||||
for (Updater updater : updaters) {
|
||||
updater.poll();
|
||||
}
|
||||
|
||||
for (Feature feature : features) {
|
||||
MinecraftForge.EVENT_BUS.unregister(feature);
|
||||
eventManager.unsubscribe(feature);
|
||||
|
|
|
@ -33,6 +33,11 @@ public class Client extends Feature {
|
|||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setup() {
|
||||
this.setEnabled(true);
|
||||
}
|
||||
|
||||
static boolean disableLock = false;
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue