if(event.getSide().equals(Side.CLIENT)) {
FMLCommonHandler.instance().bus().register(new RenderTickHandler());
}
FMLCommonHandler.instance().bus().register(new QueuedTasks());
if(event.getSide() == Side.CLIENT) {
SimpleServiceLocator.setClientPacketBufferHandlerThread(new ClientPacketBufferHandlerThread());
}
SimpleServiceLocator.setServerPacketBufferHandlerThread(new ServerPacketBufferHandlerThread());
for(int i=0; i<Configs.MULTI_THREAD_NUMBER; i++) {
new RoutingTableUpdateThread(i);
}